diff options
author | B. Watson <urchlay@slackware.uk> | 2023-08-11 04:25:56 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-08-12 08:29:56 +0700 |
commit | cef5f9a77d4ed64cb89d8855f3f458018188f88a (patch) | |
tree | 6b2bb654bdfb317b017ae4a0770f85d58248cd1d /system/ksh-openbsd | |
parent | e3ba7b0acd88f81dad94b92c0a63a306984808af (diff) |
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>
Diffstat (limited to 'system/ksh-openbsd')
-rw-r--r-- | system/ksh-openbsd/ksh-openbsd.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/system/ksh-openbsd/ksh-openbsd.SlackBuild b/system/ksh-openbsd/ksh-openbsd.SlackBuild index 14ff80f834d0..de6c73ff57c1 100644 --- a/system/ksh-openbsd/ksh-openbsd.SlackBuild +++ b/system/ksh-openbsd/ksh-openbsd.SlackBuild @@ -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 |