summaryrefslogtreecommitdiff
path: root/script/build/release/src
diff options
context:
space:
mode:
authorLeah Rowe <vimuser@noreply.codeberg.org>2023-09-03 14:12:47 +0000
committerLeah Rowe <vimuser@noreply.codeberg.org>2023-09-03 14:12:47 +0000
commit71d361aac7ce790268a5f3454140f23889a56e7d (patch)
tree56a4c321f5ef1eefadc6bfac4275e47f8468ac40 /script/build/release/src
parenteebf713311ca333f85d75fafb92fdbd729b4a0ba (diff)
parentef3fb05d66f1b5c94dd65ae2d14b691227d6afbe (diff)
Merge pull request 'Less cat abuse' (#123) from Riku_V/lbmk:cat into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/123
Diffstat (limited to 'script/build/release/src')
-rwxr-xr-xscript/build/release/src6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/build/release/src b/script/build/release/src
index b2d3b535..0a0501a3 100755
--- a/script/build/release/src
+++ b/script/build/release/src
@@ -23,7 +23,7 @@ set -u -e
. "include/err.sh"
-projectname="$(cat projectname)"
+read projectname < projectname
trees_fetch_list="coreboot u-boot seabios"
simple_fetch_list="flashrom grub memtest86plus me_cleaner uefitool"
@@ -46,9 +46,9 @@ printf "Building source code archive, version %s\n" "${version}"
main()
{
[ -f version ] && \
- version="$(cat version)"
+ read version < version
[ -f versiondate ] && \
- versiondate="$(cat versiondate)"
+ read versiondate < versiondate
create_release_directory
download_modules