projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b6e9a9
)
Fix previous.
author
Carl Hetherington
<cth@carlh.net>
Sat, 8 Nov 2014 00:02:50 +0000
(
00:02
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 8 Nov 2014 00:02:50 +0000
(
00:02
+0000)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 2be1b0642325fab12c203bca5c761aede2fd275e..c583990bb3e5cbdc5f2f2ae76139a22ab04cf95c 100755
(executable)
--- a/
cdist
+++ b/
cdist
@@
-123,11
+123,11
@@
def scp_escape(n):
def copytree(a, b):
log('copy %s -> %s' % (a, b))
- os.system('scp -r
"\'%s\'" "\'%s\'"
' % (scp_escape(a), 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))
- os.system('scp
"\'%s\'" "\'%s\'"
' % (scp_escape(a), scp_escape(b)))
+ os.system('scp
%s %s
' % (scp_escape(a), scp_escape(b)))
def rmdir(a):
log('remove %s' % a)