summaryrefslogtreecommitdiff
path: root/curl.sh
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-07-22 21:35:03 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-07-22 21:35:03 +0300
commita32608aa7da0f4453029359758be39c8089b649d (patch)
tree5610e758cb7c0ec9b13ab5430499ec501d152185 /curl.sh
parent8ad9d24459f63cc2e6b46cd13862695b2f87bc9a (diff)
downloadwmf-ci-arch-a32608aa7da0f4453029359758be39c8089b649d.tar.gz
Fix: chmod file before publishing it
Diffstat (limited to 'curl.sh')
-rwxr-xr-xcurl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/curl.sh b/curl.sh
index 5f9fc61..801254c 100755
--- a/curl.sh
+++ b/curl.sh
@@ -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
;;