quick hack to check for awk

This commit is contained in:
Pierangelo Masarati 2003-02-05 14:50:15 +00:00
parent f051181042
commit e258f53be2

View File

@ -41,6 +41,14 @@ if test ! -x $SLURPD ; then
exit 0
fi
# quick hack to check for awk
echo "looking for a POSIX compliant awk"
awk -W version >/dev/null 2>&1
if test $? != 0 ; then
echo "This test requires awk"
exit 0
fi
echo "Cleaning up in $DBDIR..."
rm -f $DBDIR/[!C]*
echo "Cleaning up in $REPLDIR..."