Dr. Werner Fink 2017-01-19 12:38:40 +00:00 committed by Git OBS Bridge
parent 7f7ba29348
commit 5349494106
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 19 12:20:06 UTC 2017 - werner@suse.de
- Remove -L option on screen call dues API change, now we depend
on environment variables only.
-------------------------------------------------------------------
Wed Dec 7 15:29:56 UTC 2016 - werner@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package tcsh
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -134,6 +134,7 @@ correction, a history mechanism, job control, and a C-like syntax.
SCREENLOG=${SCREENDIR}/log
cat > $SCREENRC<<-EOF
deflogin off
deflog on
logfile $SCREENLOG
logfile flush 1
logtstamp off
@ -147,7 +148,7 @@ correction, a history mechanism, job control, and a C-like syntax.
tail -q -s 0.5 -f $SCREENLOG & pid=$!
env -i HOME=$HOME TERM=$TERM TMPDIR=$TMPDIR \
SCREENRC=$SCREENRC SCREENDIR=$SCREENDIR \
screen -L -D -m make check
screen -D -m make check
sleep 1
kill -TERM $pid
rm -rf $SCREENDIR $TMPDIR