added quotes to if check
This commit is contained in:
parent
5ab69f335f
commit
3d15d5369b
@ -50,7 +50,7 @@ get_build_url() {
|
||||
}
|
||||
|
||||
check_exists_latest_lineageos_build() {
|
||||
if [[ -f /tmp/lineageos.zip ]]; then
|
||||
if [[ -f "/tmp/lineageos.zip" ]]; then
|
||||
# The --location lets curl follow the redirection.
|
||||
print_message "$(get_build_url)?sha256"
|
||||
curl --location "$(get_build_url)?sha256" --output /tmp/lineageos.sha256
|
||||
|
Loading…
x
Reference in New Issue
Block a user