diff-opencloud tool
[plstackapi.git] / planetstack / tools / copy-opencloud.py
index 2f6a2cb..205ea2d 100644 (file)
@@ -23,7 +23,9 @@ if destfn.endswith("/"):
     destfn = destfn + os.path.basename(srcfn)
 
 enctext = base64.b64encode(open(srcfn).read())
-script = "base64 -d -i > %s <<EOF\n%s\nEOF\n" % (destfn, enctext)
+#script = 'sudo bash -C "base64 -d -i > %s <<EOF\n%s\nEOF\n"' % (destfn, enctext)
+script = 'base64 -d -i > %s <<EOF\n%s\nEOF\n' % (destfn, enctext) 
+
 
 file("/tmp/script","w").write(script)