mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-13 20:52:20 +01:00
15 lines
388 B
Diff
15 lines
388 B
Diff
--- ./scripts/fakeroot.in.orig
|
|
+++ ./scripts/fakeroot.in
|
|
@@ -43,9 +43,9 @@
|
|
|
|
libfound=no
|
|
|
|
-GETOPTEST=`getopt --version`
|
|
+GETOPTEST=`getopt --version 2>&1 | head -n2`
|
|
case $GETOPTEST in
|
|
-getopt*) # GNU getopt
|
|
+getopt*|*BusyBox*) # 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 "$@"`
|
|
;;
|
|
*) # POSIX getopt ?
|