Less cat abuse

More than 90% of cats were thus terminated.
read (shell built-in) is better at reading, and dogs are better pets.

Signed-off-by: Riku Viitanen <riku.viitanen@protonmail.com>
This commit is contained in:
Riku Viitanen
2023-09-03 17:00:18 +03:00
parent e369e8fb4a
commit ef3fb05d66
8 changed files with 17 additions and 17 deletions
+3 -3
View File
@@ -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