use basename for SELF; FAIL rather than FAILED

This commit is contained in:
George Danchev 2011-06-27 15:51:13 +00:00
parent 5f5026828e
commit b55947130a

View File

@ -2,7 +2,7 @@
set -e
SELF=`echo $0|sed -e 's/\.\///'`
SELF=$(basename "$0")
CLOG1=log.$SELF.1
CLOG2=log.$SELF.2
@ -45,7 +45,7 @@ for s in `ls | grep ^releng_ | grep -v ${SELF} | sort`; do
printf "done in ${TS} sec. ok."
;;
*)
printf "done in ${TS} sec. FAILED WITH EXIT CODE: $RET;"
printf "done in ${TS} sec. FAIL. EXIT CODE: $RET;"
;;
esac
set -e