summaryrefslogtreecommitdiffstats
path: root/lib/container/rename
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-11-25 10:26:20 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-11-25 10:26:25 +0000
commit5b7aa9233b1f05f3837e0a797e867fcc94b0a6ea (patch)
treead25da8c3b34eb8a3f51ac737244958b94159ad2 /lib/container/rename
parentReleasing debian version 20161122-1. (diff)
downloadopen-infrastructure-compute-tools-5b7aa9233b1f05f3837e0a797e867fcc94b0a6ea.tar.xz
open-infrastructure-compute-tools-5b7aa9233b1f05f3837e0a797e867fcc94b0a6ea.zip
Merging upstream version 20161125.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'lib/container/rename')
-rwxr-xr-xlib/container/rename6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/container/rename b/lib/container/rename
index 2d27615..467d687 100755
--- a/lib/container/rename
+++ b/lib/container/rename
@@ -25,10 +25,10 @@ MACHINES="/var/lib/machines"
Parameters ()
{
- LONG_OPTIONS="force,new:,old:,"
- OPTIONS="f,n:,o:,"
+ GETOPT_LONGOPTIONS="force,new:,old:,"
+ GETOPT_OPTIONS="f,n:,o:,"
- 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