diff options
-rwxr-xr-x | api.py | 1 | ||||
-rwxr-xr-x | curl.sh | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -366,6 +366,7 @@ class Deployer(API): def _publish_via_ssh(self, filename, ssh_target): logging.info('Copying %s to %s', filename, ssh_target) + os.chmod(filename, 0444) argv = [ 'scp', '-q', filename, ssh_target, ] @@ -12,7 +12,7 @@ shift 1 case "$cmd" in update-repo) - runcurl -X POST --data-binary @hithere.json \ + runcurl -X POST --data-binary @"$1" \ -H "Content-Type: application/json" \ https://wmf2-vcsworker.vm.liw.fi/updaterepo ;; |