summaryrefslogtreecommitdiff
path: root/script/build/release/roms
diff options
context:
space:
mode:
Diffstat (limited to 'script/build/release/roms')
-rwxr-xr-xscript/build/release/roms6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/build/release/roms b/script/build/release/roms
index c86fc79f..1d6bcb76 100755
--- a/script/build/release/roms
+++ b/script/build/release/roms
@@ -23,7 +23,7 @@ set -u -e
. "include/err.sh"
-projectname="$(cat projectname)"
+read projectname < projectname
version="version-unknown"
versiondate="version-date-unknown"
tree="default"
@@ -53,9 +53,9 @@ main()
init_check()
{
[ -f version ] && \
- version="$(cat version)"
+ read version < version
[ -f versiondate ] && \
- versiondate="$(cat versiondate)"
+ read versiondate < versiondate
[ ! -d "bin/" ] && \
err "init_check: no ROMs built yet (error)"
[ -d "release/" ] || \