From de9c5d9019f12bf0ab45bc0dee21df5a2ce9aa56 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 8 Nov 2014 00:20:49 +0000 Subject: [PATCH] Fix previous. --- cdist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdist b/cdist index c583990..2a1528a 100755 --- a/cdist +++ b/cdist @@ -122,11 +122,11 @@ def scp_escape(n): return n def copytree(a, b): - log('copy %s -> %s' % (a, b)) + log('copy %s -> %s' % (scp_escape(b), scp_escape(b))) os.system('scp -r %s %s' % (scp_escape(a), scp_escape(b))) def copyfile(a, b): - log('copy %s -> %s' % (a, b)) + log('copy %s -> %s' % (scp_escape(a), scp_escape(b))) os.system('scp %s %s' % (scp_escape(a), scp_escape(b))) def rmdir(a): -- 2.30.2