From: "P. J. McDermott" Description: Separate opt_uid0_cmd non-option arguments Otherwise, the -u option might be collected by the opt_uid0_cmd. diff -Naur src.orig/src/opkbuild.sh src/src/opkbuild.sh --- src.orig/src/opkbuild.sh 2012-11-15 14:55:57.000000000 -0500 +++ src/src/opkbuild.sh 2013-06-03 20:46:14.235239682 -0400 @@ -193,7 +193,7 @@ test_uid0_cmd() { # Verify that the UID 0 command works. - test_uid=$("${opt_uid0_cmd}" id -u) + test_uid=$("${opt_uid0_cmd}" -- id -u) if [ ${?} -ne 0 ]; then ob_error "$(ob_get_msg 'uid0_cmd_not_found')" "${opt_uid0_cmd}"