diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-18 15:16:00 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-06-22 12:31:57 (EDT) |
commit | 942a425651a5aaef73f422e2fb31ce4e114d551e (patch) | |
tree | 4b61bc006e2997b851db96e3974592b6f6e544f8 /src | |
parent | 761f60568620251ce8280d8b15d57438a5c36e20 (diff) |
opkbuild: Unquote UID 0 command
Diffstat (limited to 'src')
-rw-r--r-- | src/opkbuild.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh index aa942c4..e6dc730 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -171,7 +171,7 @@ test_uid0_cmd() local test_uid= # Verify that the UID 0 command works. - if ! test_uid=$("${opt_uid0_cmd}" -- id -u); then + if ! test_uid=$(${opt_uid0_cmd} -- id -u); then ob_error "$(ob_get_msg 'uid0_cmd_not_found')" "${opt_uid0_cmd}" return 1 fi @@ -279,7 +279,7 @@ build_source() if ! OB_DO_SOURCE='true' "${bindir}/ob-gencontrol"; then return 1 fi - if ! OB_DO_SOURCE='true' "${opt_uid0_cmd}" -- "${bindir}/ob-buildopk" + if ! OB_DO_SOURCE='true' ${opt_uid0_cmd} -- "${bindir}/ob-buildopk" then return 1 fi |