mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 12:42:50 +00:00
fix empty string check
This commit is contained in:
parent
5a9a221bc2
commit
262d948ef2
2
adoptopenjdk.sh
Normal file → Executable file
2
adoptopenjdk.sh
Normal file → Executable file
@ -23,7 +23,7 @@ function downloadRelease() {
|
|||||||
downloaded=true
|
downloaded=true
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
if [[ -z $installer_name ]]; then
|
if [[ ! -z "$installer_name" ]]; then
|
||||||
dest_filename="$BASE_PATH/$version/$binary_type/$architecture/$os/$installer_name"
|
dest_filename="$BASE_PATH/$version/$binary_type/$architecture/$os/$installer_name"
|
||||||
downloaded=false
|
downloaded=false
|
||||||
if [[ -f $dest_filename ]]; then
|
if [[ -f $dest_filename ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user