summaryrefslogtreecommitdiffstats
path: root/share/scripts/curl
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-11-25 10:25:53 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-11-25 10:25:53 +0000
commit68fb1d466b4dce1f0a8806adfe750d5948234906 (patch)
tree0142813dd882e4be7d0955037118d9ffa0572910 /share/scripts/curl
parentAdding upstream version 20161122. (diff)
downloadopen-infrastructure-compute-tools-68fb1d466b4dce1f0a8806adfe750d5948234906.tar.xz
open-infrastructure-compute-tools-68fb1d466b4dce1f0a8806adfe750d5948234906.zip
Adding upstream version 20161125.upstream/20161125
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'share/scripts/curl')
-rwxr-xr-xshare/scripts/curl6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/scripts/curl b/share/scripts/curl
index b67cbd4..6b7d6a0 100755
--- a/share/scripts/curl
+++ b/share/scripts/curl
@@ -25,10 +25,10 @@ CACHE="/var/cache/container-tools/images"
Parameters ()
{
- LONG_OPTIONS="bind:,script:,name:,clean,image:,server:,password:"
- OPTIONS="b:,s:,n:,p:"
+ GETOPT_LONGOPTIONS="bind:,script:,name:,clean,image:,server:,password:"
+ GETOPT_OPTIONS="b:,s:,n:,p:"
- PARAMETERS="$(getopt --longoptions ${LONG_OPTIONS} --name=${SCRIPT} --options ${OPTIONS} --shell sh -- ${@})"
+ PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${SCRIPT} --options ${GETOPT_OPTIONS} --shell sh -- ${@})"
if [ "${?}" != "0" ]
then