diff options
author | P. J. McDermott <pjm@nac.net> | 2012-08-02 08:12:08 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-08-02 08:12:08 (EDT) |
commit | 0de927114cfa21437eca816df342473a9177d2e8 (patch) | |
tree | 74d842f11b96076178e9b4c9ae60a34babc89625 | |
parent | 4b97b30ffda91c7d0fa284e40a4f4e05f18b1f64 (diff) |
Fix spelling of OPT_UID0_CMD parameter.
-rw-r--r-- | src/opkbuild.sh | 6 |
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 } |