diff --git a/src/scripts/create.sh b/src/scripts/create.sh index 9657143..867fcb1 100755 --- a/src/scripts/create.sh +++ b/src/scripts/create.sh @@ -2,7 +2,7 @@ version=$(curl -Ls -o /dev/null -w "%{url_effective}" https://github.com/rife2/bld/releases/latest) version=${version##*/} -filepath=$(mktemp -u -t "bld-$version.jar") +filepath=$(mktemp -u -t "bld-$version-XXXXXX.jar") echo "Downloading bld v$version..." echo diff --git a/src/scripts/upgrade.sh b/src/scripts/upgrade.sh index 21c8ee9..61f1f02 100755 --- a/src/scripts/upgrade.sh +++ b/src/scripts/upgrade.sh @@ -2,7 +2,7 @@ version=$(curl -Ls -o /dev/null -w "%{url_effective}" https://github.com/rife2/bld/releases/latest) version=${version##*/} -filepath=$(mktemp -u -t "bld-$version.jar") +filepath=$(mktemp -u -t "bld-$version-XXXXXX.jar") echo "Downloading bld v$version..." echo