aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
diff options
context:
space:
mode:
authordancer <dancer>2002-10-05 05:07:07 +0000
committerdancer <dancer>2002-10-05 05:07:07 +0000
commitf0a6c9d24062185caa878e75cab0d7a382f68c40 (patch)
treee67eccfce0256a454dadb834c91ce0bf192c1880 /pbuilder-buildpackage
parent2571fbfaba200166173218587334d0264a0de4a1 (diff)
downloadpbuilder-f0a6c9d24062185caa878e75cab0d7a382f68c40.tar
pbuilder-f0a6c9d24062185caa878e75cab0d7a382f68c40.tar.gz
KILL_WAIT_PID related quoting fix
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index ebcf714..877c71b 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -89,14 +89,14 @@ if [ -n "${TIMEOUT_TIME}" ]; then
echo " -> Terminating build process due to timeout "
kill ${BUILD_PID} || true
) & # timeout process
- KILL_WAIT_PID="kill $! || true; echo \" -> Terminate timeout process\"; "
+ KILL_WAIT_PID="kill "$!" || true; echo \" -> Terminate timeout process\"; "
else
KILL_WAIT_PID=""
fi
if ! wait ${BUILD_PID}; then
trap umountproc_cleanbuildplace exit
- eval ${KILL_WAIT_PID}
+ eval "${KILL_WAIT_PID}"
echo "pbuilder: Failed autobuilding of package" >&2
executehooks "C"
exit 1;