system/ksh-openbsd: Stop script from hanging if run in background.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e3ba7b0acd
commit
cef5f9a77d
|
@ -82,7 +82,14 @@ find -L . \
|
|||
-exec chmod 644 {} \+
|
||||
|
||||
CFLAGS="$SLKCFLAGS $(getconf LFS_CFLAGS)" make
|
||||
make check
|
||||
|
||||
# 20230810 bkw: tired of this thing hanging when run in the background
|
||||
# as part of a long queue.
|
||||
case "$(ps -o stat= -p $$)" in
|
||||
*+*) make check ;; # running in foreground
|
||||
*) echo '*** Not running "make check" because we are in the background.' ;;
|
||||
esac
|
||||
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
if [ -n "${PDKSH_BINNAME}" ];then
|
||||
|
|
Loading…
Reference in New Issue