mirror of
https://github.com/rife2/bld
synced 2025-12-28 11:18:36 +01:00
Allow file to be overwritten in the curl scripts
This commit is contained in:
parent
8b4055c1a3
commit
aeb3369fe0
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue