commit | af7f6fa78f0291a09c98a782d32a31e9f9ecd512 | [log] [tgz] |
---|---|---|
author | Carlos Sanchez <carlos@apache.org> | Sun Aug 28 20:34:40 2016 +0200 |
committer | GitHub <noreply@github.com> | Sun Aug 28 20:34:40 2016 +0200 |
tree | 11d1fdfa8ffff1171ae668d574b2618e9934ba38 | |
parent | 4fb6e3e2bbeb59fe721e9e647239cfdd33d09ede [diff] | |
parent | fbb05c36964395c6fa99ad93e8b4a46742eec185 [diff] |
Merge pull request #334 from jeanlouisboudart/master Fix default value handling (-u option is set making -z fail)
diff --git a/install-plugins.sh b/install-plugins.sh index 4ea9cf5..722fb3f 100755 --- a/install-plugins.sh +++ b/install-plugins.sh
@@ -62,9 +62,7 @@ return 0 fi - if [ -z "$JENKINS_UC_DOWNLOAD" ]; then - JENKINS_UC_DOWNLOAD=$JENKINS_UC/download - fi + JENKINS_UC_DOWNLOAD=${JENKINS_UC_DOWNLOAD=-"$JENKINS_UC/download"} url="$JENKINS_UC_DOWNLOAD/plugins/$plugin/$version/${plugin}.hpi"