diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-11-25 07:40:47 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-11-25 10:21:12 +0000 |
commit | 8c4610ee9c13b338acde1d42406dca8d97f6c193 (patch) | |
tree | d7cb8cbda8af738e06e6a1b77a4c98edbc82dad9 /share/scripts/curl | |
parent | Releasing version 20161122. (diff) | |
download | compute-tools-8c4610ee9c13b338acde1d42406dca8d97f6c193.tar.xz compute-tools-8c4610ee9c13b338acde1d42406dca8d97f6c193.zip |
Renaming too generic internal getopt variables to avoid possible collisions in the future.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | share/scripts/curl | 6 |
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 |