diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/opkbuild.sh | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -7,6 +7,8 @@ Utilities: * ob-gencontrol now actually populates the source package field "Binary" added in version 4.1.0. + * opkbuild now supports commands with arguments as arguments to the + "-r" option, for example "-r 'env -i fakeroot'". opkbuild version 4.1.1 ---------------------- 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 |