aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opennebula/getopt.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-06-11 23:04:15 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-06-11 23:04:15 +0000
commitc4e567c4011381771aec2d8f17aace8d90066892 (patch)
tree4d6525653f8d464dfeca0c62f371ef87161f95a6 /testing/opennebula/getopt.patch
parentd603ed478d9e86987bc1e5ea15484f729915d0a7 (diff)
downloadaports-c4e567c4011381771aec2d8f17aace8d90066892.tar.bz2
aports-c4e567c4011381771aec2d8f17aace8d90066892.tar.xz
testing/opennebula: misc fixes
Diffstat (limited to 'testing/opennebula/getopt.patch')
-rw-r--r--testing/opennebula/getopt.patch15
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