aboutsummaryrefslogtreecommitdiffstats
path: root/main/fakeroot/busybox-getopt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/fakeroot/busybox-getopt.patch')
-rw-r--r--main/fakeroot/busybox-getopt.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/fakeroot/busybox-getopt.patch b/main/fakeroot/busybox-getopt.patch
new file mode 100644
index 0000000000..94029bf248
--- /dev/null
+++ b/main/fakeroot/busybox-getopt.patch
@@ -0,0 +1,13 @@
+diff --git a/scripts/fakeroot.in b/scripts/fakeroot.in
+index 324a9dc..8d4235d 100755
+--- a/scripts/fakeroot.in
++++ b/scripts/fakeroot.in
+@@ -43,7 +43,7 @@ export FAKED_MODE
+
+ libfound=no
+
+-GETOPTEST=`getopt --version`
++GETOPTEST=`getopt --version 2>/dev/null`
+ case $GETOPTEST in
+ getopt*) # GNU getopt
+ FAKE_TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"`