mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-28 04:35:57 -04:00
Only use terminal escapes (in $TB/$TN) when printing to a terminal.
Remove a bogus 'waiting' message; the script does not sleep there.
This commit is contained in:
parent
b0b098258f
commit
9fd99cd566
1 changed files with 6 additions and 3 deletions
|
|
@ -14,8 +14,12 @@
|
|||
## <http://www.OpenLDAP.org/license.html>.
|
||||
|
||||
SHTOOL="$SRCDIR/../build/shtool"
|
||||
TB=`$SHTOOL echo -e "%B"`
|
||||
TN=`$SHTOOL echo -e "%b"`
|
||||
|
||||
TB="" TN=""
|
||||
if test -t 1 ; then
|
||||
TB=`$SHTOOL echo -e "%B" 2>/dev/null`
|
||||
TN=`$SHTOOL echo -e "%b" 2>/dev/null`
|
||||
fi
|
||||
|
||||
echo "#######################################################################"
|
||||
echo "### ###"
|
||||
|
|
@ -44,6 +48,5 @@ for CMD in $SRCDIR/data/regressions/its*/its*; do
|
|||
exit $RC
|
||||
fi
|
||||
|
||||
echo ">>>>> waiting for things to exit"
|
||||
echo ""
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue