From a32608aa7da0f4453029359758be39c8089b649d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 22 Jul 2019 21:35:03 +0300 Subject: Fix: chmod file before publishing it --- curl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'curl.sh') 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 ;; -- cgit v1.2.1