mirror of
https://github.com/ethauvin/bld.git
synced 2025-04-26 00:37:10 -07:00
Allow file to be overwritten in the curl scripts
This commit is contained in:
parent
8b4055c1a3
commit
aeb3369fe0
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ filepath=$(mktemp -u -t "bld-$version.jar")
|
||||||
echo "Downloading bld v$version..."
|
echo "Downloading bld v$version..."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
curl -L -s "https://github.com/rife2/bld/releases/download/$version/bld-$version.jar" -o "$filepath"
|
curl -L -s "https://github.com/rife2/bld/releases/download/$version/bld-$version.jar" > "$filepath"
|
||||||
|
|
||||||
echo "Welcome to bld v$version."
|
echo "Welcome to bld v$version."
|
||||||
java -jar "$filepath" create
|
java -jar "$filepath" create
|
||||||
|
|
|
@ -7,7 +7,7 @@ filepath=$(mktemp -u -t "bld-$version.jar")
|
||||||
echo "Downloading bld v$version..."
|
echo "Downloading bld v$version..."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
curl -L -s "https://github.com/rife2/bld/releases/download/$version/bld-$version.jar" -o "$filepath"
|
curl -L -s "https://github.com/rife2/bld/releases/download/$version/bld-$version.jar" > "$filepath"
|
||||||
|
|
||||||
echo "Welcome to bld v$version."
|
echo "Welcome to bld v$version."
|
||||||
java -jar "$filepath" upgrade
|
java -jar "$filepath" upgrade
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue