--- ./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 ?