correct bash typo
This commit is contained in:
parent
f61ab8660b
commit
a3f890e419
@ -7,13 +7,14 @@ jarFile=$(grep -oPm1 "(?<=<fileName>)[^<]+" <<< "$data")
|
|||||||
|
|
||||||
echo $1
|
echo $1
|
||||||
|
|
||||||
if [[ $1="master" ]]; then
|
if [[ $1 = "master" ]]
|
||||||
|
then
|
||||||
url="https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle/lastStableBuild/artifact/"${relativePath}
|
url="https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle/lastStableBuild/artifact/"${relativePath}
|
||||||
else
|
else
|
||||||
url="https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle%20Devel/lastStableBuild/artifact/"${relativePath}
|
url="https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle%20Devel/lastStableBuild/artifact/"${relativePath}
|
||||||
fi
|
fi
|
||||||
echo ${url}
|
echo ${url}
|
||||||
|
|
||||||
wget ${url} -O bot.jar
|
wget ${url} -O bot.jar -q
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user