diff options
author | Allan McRae <allan@archlinux.org> | 2019-10-07 08:22:52 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-10-07 08:22:52 +0200 |
commit | 8e7d425627c8a6ce102c349020ccf6c5786c7a46 (patch) | |
tree | 182feb7e6132d8cfef87615758784c2442f9c449 /scripts | |
parent | e581068c77baa7a167662b0c63730dc87cc90b81 (diff) | |
download | pacman-8e7d425627c8a6ce102c349020ccf6c5786c7a46.tar.gz pacman-8e7d425627c8a6ce102c349020ccf6c5786c7a46.tar.xz |
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')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
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" |