diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-06-11 23:04:15 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-06-11 23:04:15 +0000 |
commit | c4e567c4011381771aec2d8f17aace8d90066892 (patch) | |
tree | 4d6525653f8d464dfeca0c62f371ef87161f95a6 /testing/opennebula/getopt.patch | |
parent | d603ed478d9e86987bc1e5ea15484f729915d0a7 (diff) | |
download | aports-c4e567c4011381771aec2d8f17aace8d90066892.tar.bz2 aports-c4e567c4011381771aec2d8f17aace8d90066892.tar.xz |
testing/opennebula: misc fixes
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 |