summaryrefslogtreecommitdiff
path: root/script/build/release
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-31 17:47:56 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-31 17:47:56 +0100
commite5546128eab02a503176a9bf93c1b88d83f3b655 (patch)
tree204d417c58132c9ec889c347a5e099fef96599d7 /script/build/release
parentfbda0f04dbc53e7c98eba66418de1ff459484685 (diff)
build/release/roms: fix syntax error
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/release')
-rwxr-xr-xscript/build/release/roms2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/build/release/roms b/script/build/release/roms
index 395fb8d7..572ceca2 100755
--- a/script/build/release/roms
+++ b/script/build/release/roms
@@ -50,7 +50,7 @@ main()
init_check()
{
- if [ -f version ]; then
+ [ -f version ] && \
version="$(cat version)"
[ -f versiondate ] && \
versiondate="$(cat versiondate)"