From 0de927114cfa21437eca816df342473a9177d2e8 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 02 Aug 2012 08:12:08 -0400 Subject: Fix spelling of OPT_UID0_CMD parameter. --- (limited to 'src') 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 } -- cgit v0.9.1