aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/opennebula/getopt.patch
blob: 3fcf7bd46ef3a0fb325d7b052d576f37705cd8b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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