aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/opennebula/getopt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/opennebula/getopt.patch')
-rw-r--r--unmaintained/opennebula/getopt.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/unmaintained/opennebula/getopt.patch b/unmaintained/opennebula/getopt.patch
new file mode 100644
index 0000000000..3fcf7bd46e
--- /dev/null
+++ b/unmaintained/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