summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/opkbuild.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 6c19b89..fbd0d7d 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -312,13 +312,11 @@ build()
case "${opt_target}" in
'')
../build build
- ${opt_uid0_cmd} -- sh -s <<-EOF
- ../build install && \
- '${BINDIR}/ob-installdocs' && \
- '${BINDIR}/ob-gencontrol' && \
- '${BINDIR}/ob-buildopk' && \
- '${BINDIR}/ob-genchanges'
- EOF
+ ${opt_uid0_cmd} -- ../build install && \
+ ${opt_uid0_cmd} -- '${BINDIR}/ob-installdocs' && \
+ ${opt_uid0_cmd} -- '${BINDIR}/ob-gencontrol' && \
+ ${opt_uid0_cmd} -- '${BINDIR}/ob-buildopk' && \
+ ${opt_uid0_cmd} -- '${BINDIR}/ob-genchanges'
if [ ${?} -ne 0 ]; then
exit 1
fi