projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a596f7
)
Try to fix escaping.
author
Carl Hetherington
<cth@carlh.net>
Fri, 7 Nov 2014 23:31:15 +0000
(23:31 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 7 Nov 2014 23:31:15 +0000
(23:31 +0000)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index d040bb105e84c27d35d7b4d31e4ed8f66f1b7b73..f0e39e797b2250e9658de689a023dd95bc5cfdb6 100755
(executable)
--- 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)