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>
This commit is contained in:
parent
e581068c77
commit
8e7d425627
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ run_function() {
|
||||||
|
|
||||||
$pkgfunc &>"$logpipe"
|
$pkgfunc &>"$logpipe"
|
||||||
|
|
||||||
wait $teepid
|
wait -f $teepid
|
||||||
rm "$logpipe"
|
rm "$logpipe"
|
||||||
else
|
else
|
||||||
"$pkgfunc"
|
"$pkgfunc"
|
||||||
|
|
Loading…
Add table
Reference in a new issue