2
0
Fork 0
mirror of https://github.com/ethauvin/bld.git synced 2025-04-25 16:27:11 -07:00

Allow file to be overwritten in the curl scripts

This commit is contained in:
Geert Bevin 2024-02-25 08:24:12 -05:00
parent 8b4055c1a3
commit aeb3369fe0
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ filepath=$(mktemp -u -t "bld-$version.jar")
echo "Downloading bld v$version..."
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."
java -jar "$filepath" create

View file

@ -7,7 +7,7 @@ filepath=$(mktemp -u -t "bld-$version.jar")
echo "Downloading bld v$version..."
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."
java -jar "$filepath" upgrade