Don't restrict the source-repositories type

file type has been added (there may be more), each one causes toci to
error, so removing the restriction its not needed here.

Change-Id: I959580684ae163dcd7972bae4a23a74b69d4ea92
This commit is contained in:
Derek Higgins 2013-09-04 09:37:35 +01:00
parent 85554dc75d
commit 8f7e162e6e
1 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,7 @@ for repo in 'openstack/tripleo-incubator' 'tripleo/bm_poseur' 'openstack/diskima
done
# Get a local copy of each of the git repositories referenced in
REGEX="^([^ ]+) (git|tar) ([/~][^ ]+) ([^ ]+) ?([^ ]*)$"
REGEX="^([^ ]+) ([^ ]+) ([/~][^ ]+) ([^ ]+) ?([^ ]*)$"
for sr in $TOCI_WORKING_DIR/*/elements/*/source-repository* ; do
while read line ; do
# ignore blank lines and lines begining in '#'
@ -43,7 +43,6 @@ for sr in $TOCI_WORKING_DIR/*/elements/*/source-repository* ; do
fi
else
echo "Couldn't parse '$line' as a source repository"
return 1
fi
done < $sr
done