diff options
author | Leah Rowe <leah@libreboot.org> | 2023-10-07 05:36:52 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-10-07 05:37:11 +0100 |
commit | 4708da2ca9a72520f39749b3b34b0bdc2fbfa15d (patch) | |
tree | 8c7f436fc53d10665f150e295d2d488b3f86e729 /script/update/release/src | |
parent | 0fad3497b82d9225468835d1b27717050ca6de46 (diff) |
use quotes when checking empty strings in scripts
this is far less error-prone
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/release/src')
-rwxr-xr-x | script/update/release/src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/update/release/src b/script/update/release/src index f8909bbf..b63994b5 100755 --- a/script/update/release/src +++ b/script/update/release/src @@ -105,7 +105,7 @@ create_release_archive() fail() { - [ -z ${srcdir} ] || rm -Rf "${srcdir}" 1>/dev/null 2>/dev/null || : + [ -z "${srcdir}" ] || rm -Rf "${srcdir}" 1>/dev/null 2>/dev/null || : fail "${1}" } |