diff options
Diffstat (limited to 'testing/opennebula/getopt.patch')
-rw-r--r-- | testing/opennebula/getopt.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/opennebula/getopt.patch b/testing/opennebula/getopt.patch new file mode 100644 index 0000000000..3fcf7bd46e --- /dev/null +++ b/testing/opennebula/getopt.patch @@ -0,0 +1,15 @@ +--- opennebula-4.0.1/install.sh.orig ++++ opennebula-4.0.1/install.sh +@@ -51,11 +51,7 @@ + + PARAMETERS="hkrlcsou:g:d:" + +-if [ $(getopt --version | tr -d " ") = "--" ]; then +- TEMP_OPT=`getopt $PARAMETERS "$@"` +-else +- TEMP_OPT=`getopt -o $PARAMETERS -n 'install.sh' -- "$@"` +-fi ++TEMP_OPT=`getopt $PARAMETERS "$@"` + + if [ $? != 0 ] ; then + usage |