Browse Source

warn users about unknown 'repo:tag' combinations

Joe Ferguson 11 years ago
parent
commit
a924fa6418
1 changed files with 2 additions and 1 deletions
  1. 2 1
      bashbrew/build.sh

+ 2 - 1
bashbrew/build.sh

@@ -142,7 +142,8 @@ while [ "$#" -gt 0 ]; do
 	gitRef="${repoGitRef[$repoTag]}"
 	gitDir="${repoGitDir[$repoTag]}"
 	shift
-	if [ -z "$gitRepo" -o -z "$gitRef" ]; then
+	if [ -z "$gitRepo" ]; then
+		echo >&2 'warning: skipping unknown repo:tag:' "$repoTag"
 		continue
 	fi