commit | dddb965c1577ebe9862fb5010f0ad75f1ea883fb | [log] [tgz] |
---|---|---|
author | Manuel Prinz <manuel@pinguinkiste.de> | Sat Feb 21 13:03:29 2015 +0100 |
committer | Manuel Prinz <manuel@pinguinkiste.de> | Sat Feb 21 13:03:29 2015 +0100 |
tree | 16fd269ad73c099244e8b3d52e76f539770b58ed | |
parent | 0b88a12b6185c108ffb9d0762dd1b983d9b49db6 [diff] [blame] |
Ignore comments and empty lines in plugins file
diff --git a/plugins.sh b/plugins.sh index e0df32b..ec9f368 100755 --- a/plugins.sh +++ b/plugins.sh
@@ -13,5 +13,7 @@ while read spec; do plugin=(${spec//:/ }); + [[ ${plugin[0]} =~ ^# ]] && continue + [[ ${plugin[0]} =~ ^\s*$ ]] && continue curl -L ${JENKINS_UC}/download/plugins/${plugin[0]}/${plugin[1]}/${plugin[0]}.hpi -o $REF/${plugin[0]}.hpi; done < $1