correct bash typo

This commit is contained in:
Sebastien 2018-03-01 15:56:53 +01:00
parent f61ab8660b
commit a3f890e419

View File

@ -7,13 +7,14 @@ jarFile=$(grep -oPm1 "(?<=<fileName>)[^<]+" <<< "$data")
echo $1
if [[ $1="master" ]]; then
if [[ $1 = "master" ]]
then
url="https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle/lastStableBuild/artifact/"${relativePath}
else
url="https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle%20Devel/lastStableBuild/artifact/"${relativePath}
fi
echo ${url}
wget ${url} -O bot.jar
wget ${url} -O bot.jar -q