aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/opennebula/getopt.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-29 08:14:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-29 12:36:41 +0000
commitb7d9e547caa397ec439a817492948b2f5356fc0f (patch)
treeefe42605e85affabd0c5523d53c0c9ac76bf0a83 /unmaintained/opennebula/getopt.patch
parent80acbaee801184140fac0c967cbb8aa051db2b06 (diff)
downloadaports-b7d9e547caa397ec439a817492948b2f5356fc0f.tar.bz2
aports-b7d9e547caa397ec439a817492948b2f5356fc0f.tar.xz
move testing/opennebula to unmaintained
it was broken and not touched since 2014.
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