summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-11-07 23:31:15 +0000
committerCarl Hetherington <cth@carlh.net>2014-11-07 23:31:15 +0000
commit88df874df396dce938f32a98791c299166029af4 (patch)
tree68dd1b7c2c094e4ee6875138474da2d3f82f20a1
parent4a596f722349b968d28187ff5728ca4905572872 (diff)
Try to fix escaping.
-rwxr-xr-xcdist4
1 files changed, 2 insertions, 2 deletions
diff --git a/cdist b/cdist
index d040bb1..f0e39e7 100755
--- a/cdist
+++ b/cdist
@@ -114,11 +114,11 @@ def log(m):
def copytree(a, b):
log('copy %s -> %s' % (a, b))
- os.system('scp -r %s %s' % (a, b))
+ os.system('scp -r "\'%s\'" "\'%s\'"' % (a, b))
def copyfile(a, b):
log('copy %s -> %s' % (a, b))
- os.system('scp %s %s' % (a, b))
+ os.system('scp "\'%s\'" "\'%s\'"' % (a, b))
def rmdir(a):
log('remove %s' % a)