Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2019-10-07 16:22:52 +1000
committerAllan McRae <allan@archlinux.org>2019-10-07 16:22:52 +1000
commit8e7d425627c8a6ce102c349020ccf6c5786c7a46 (patch)
tree182feb7e6132d8cfef87615758784c2442f9c449 /scripts/makepkg.sh.in
parente581068c77baa7a167662b0c63730dc87cc90b81 (diff)
makepkg: wait for process to finish
Without the -f option to wait, we might move on and try to delete the logpipe before the process is completed. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index fac268a8..ec2de455 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -428,7 +428,7 @@ run_function() {
$pkgfunc &>"$logpipe"
- wait $teepid
+ wait -f $teepid
rm "$logpipe"
else
"$pkgfunc"