Archived
1
0
Fork 0

Use basename instead of full path name

This commit is contained in:
Mercier Pierre-Olivier 2013-09-15 15:44:47 +02:00
parent e44db62e10
commit 0d88ff8eb6
2 changed files with 5 additions and 4 deletions

View file

@ -25,6 +25,7 @@ fi
FAIL=0
for SRV in $SRV_LIST
do
echo -e "\e[1;33m>>>\e[0m $ACTION on $SRV" | tee -a "$LOG"
if [ "$ACTION" == "update" ]
then
ssh root@$SRV "make -C liblerdorf update upgrade"
@ -39,10 +40,9 @@ do
echo -e "\e[1;31m>>>\e[0m $ACTION fails on $SRV" | tee -a "$LOG"
FAIL=1
fi
echo
done
echo
cat "$LOG"
exit $FAIL