mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 11:51:38 +01:00
14 lines
420 B
Diff
14 lines
420 B
Diff
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 "$@"`
|