commit | e23563a706504a318124ba116b971c9f79739980 | [log] [tgz] |
---|---|---|
author | Carlos Sanchez <carlos@apache.org> | Thu May 14 13:24:46 2015 +0200 |
committer | Carlos Sanchez <carlos@apache.org> | Thu May 14 13:24:46 2015 +0200 |
tree | 59ffc1fb6c7b231e6576c959bb1565d915654fd0 | |
parent | 8496029cb1dddde625c75b0490b572af0139db40 [diff] | |
parent | c0475fd9187ac26d3481a9a0341ba823fb8d1350 [diff] |
Merge pull request #92 from carlossg/issue-46 Last line of plugins.txt ignored if a new line is not present
diff --git a/plugins.sh b/plugins.sh index 8fe2e97..7c224f2 100755 --- a/plugins.sh +++ b/plugins.sh
@@ -11,7 +11,7 @@ REF=/usr/share/jenkins/ref/plugins mkdir -p $REF -while read spec; do +while read spec || [ -n "$spec" ]; do plugin=(${spec//:/ }); [[ ${plugin[0]} =~ ^# ]] && continue [[ ${plugin[0]} =~ ^\s*$ ]] && continue