From 8c4610ee9c13b338acde1d42406dca8d97f6c193 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 25 Nov 2016 08:40:47 +0100 Subject: Renaming too generic internal getopt variables to avoid possible collisions in the future. Signed-off-by: Daniel Baumann --- lib/container/create | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/container/create') diff --git a/lib/container/create b/lib/container/create index cb51871..cd3a455 100755 --- a/lib/container/create +++ b/lib/container/create @@ -26,10 +26,10 @@ SCRIPTS="/usr/share/container-tools/scripts" Parameters () { - LONG_OPTIONS="name:,cnt.auto:,cnt.overlay:,bind:,capability:,drop-capability:script:," - OPTIONS="n:,b:,c:,d:,s:," + GETOPT_LONGOPTIONS="name:,cnt.auto:,cnt.overlay:,bind:,capability:,drop-capability:script:," + GETOPT_OPTIONS="n:,b:,c:,d:,s:," - PARAMETERS="$(getopt --longoptions ${LONG_OPTIONS} --name=${COMMAND} --options ${OPTIONS} --shell sh -- ${@})" + PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${COMMAND} --options ${GETOPT_OPTIONS} --shell sh -- ${@})" if [ "${?}" != "0" ] then -- cgit v1.2.3