mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 23:39:33 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user