From ab654dadd640164b7ddf01a3599c2a8beb6d6302 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 25 Dec 2018 18:10:24 -0500 Subject: opkbuild: Don't run ob-* commands from a child shell --- (limited to 'src') 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 -- cgit v0.9.1