use basename for SELF; FAIL rather than FAILED
This commit is contained in:
parent
2a6e8d45bd
commit
cb3a532165
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user