mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Work around a bug in FreeBSD 5.0.
This commit is contained in:
1 parent
3a14fbb06a
commit
bfb5ed16a2
1 file changed
+7
-4
+7
-4
@@ -23,10 +23,13 @@ fi
|
||||
|
||||
fail=0
|
||||
|
||||
# ash doesn't support "trap '' CHLD"; it knows only signal numbers.
|
||||
sig=`$pwd/../../src/kill -l CHLD 2>/dev/null` && trap '' $sig
|
||||
# Use a subshell and an exec to work around a bug in FreeBSD 5.0 /bin/sh.
|
||||
(
|
||||
# ash doesn't support "trap '' CHLD"; it knows only signal numbers.
|
||||
sig=`$pwd/../../src/kill -l CHLD 2>/dev/null` && trap '' $sig
|
||||
|
||||
# Before 2004-04-21, install would infloop, in the `while (wait...' loop:
|
||||
ginstall -s $pwd/../../src/ginstall$EXEEXT .
|
||||
# Before 2004-04-21, install would infloop, in the `while (wait...' loop:
|
||||
exec ginstall -s $pwd/../../src/ginstall$EXEEXT .
|
||||
)
|
||||
|
||||
(exit $fail); exit $fail
|
||||
Reference in new issue
Block a user