fix plugin.sh script
diff --git a/1.574/plugins.sh b/1.574/plugins.sh
index e0df32b..df060b3 100755
--- a/1.574/plugins.sh
+++ b/1.574/plugins.sh
@@ -5,7 +5,7 @@
#
# FROM jenkins
# COPY plugins.txt /plugins.txt
-# RUN /usr/share/jenkins/plugins.sh /plugins.txt
+# RUN /usr/local/bin/plugins.sh /plugins.txt
#
REF=/usr/share/jenkins/ref/plugins
@@ -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