use basename for SELF; FAIL rather than FAILED
This commit is contained in:
parent
5f5026828e
commit
b55947130a
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
SELF=`echo $0|sed -e 's/\.\///'`
|
SELF=$(basename "$0")
|
||||||
CLOG1=log.$SELF.1
|
CLOG1=log.$SELF.1
|
||||||
CLOG2=log.$SELF.2
|
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. ok."
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
printf "done in ${TS} sec. FAILED WITH EXIT CODE: $RET;"
|
printf "done in ${TS} sec. FAIL. EXIT CODE: $RET;"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
set -e
|
set -e
|
||||||
|
Loading…
Reference in New Issue
Block a user