summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r--src/opkbuild.sh4
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