Minor update for Devstack build server

The output of stack.sh changed slightly in the past three months,
necessitating a slight change to the part of the ds-build script
that waits for stack.sh to complete.

Change-Id: Idc35b3ab921f423d8f4ba0c6a8a048cc6f3303eb
This commit is contained in:
David Schroeder 2015-06-29 10:44:10 -06:00
parent e7cc78bada
commit 7ed816b68f
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ retrystring='git call failed: \[git clone'
success=0
while [ "$success" = 0 ]; do
if [ `tail -1 $log 2>/dev/null |grep -c "$donestring"` = 1 ]; then
if [ `tail -5 $log 2>/dev/null |grep -c "$donestring"` = 1 ]; then
success=1
elif [ `tail -2 $log 2>/dev/null |grep -c "$retrystring"` = 1 ]; then
pkill -f devstack/stack.sh