summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r--src/opkbuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 44593dd..d1c880d 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -194,12 +194,12 @@ get_options()
test_uid0_cmd()
{
# Verify that the UID 0 command works.
- test_uid=$("${OPT_UID_CMD}" id -u)
+ test_uid=$("${OPT_UID0_CMD}" id -u)
if [ "${?}" -ne 0 ]; then
- oh_error "${oh_str_uid0_cmd_not_found}" "${OPT_UID_CMD}"
+ oh_error "${oh_str_uid0_cmd_not_found}" "${OPT_UID0_CMD}"
fi
if [ "${test_uid}" -ne 0 ]; then
- oh_error "${oh_str_uid0_cmd_bad_uid}" "${OPT_UID_CMD}"
+ oh_error "${oh_str_uid0_cmd_bad_uid}" "${OPT_UID0_CMD}"
fi
}