summaryrefslogtreecommitdiff
path: root/script/build/release
diff options
context:
space:
mode:
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)"