mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 22:12:40 +02:00
Do not rely on bashisms and behaviour undefined by the POSIX specification. Part 2
Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
This commit is contained in:
committed by
Leah Rowe
parent
f787044642
commit
7f5dfebf7d
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# SPDX-FileCopyrightText: 2022 Caleb La Grange <thonkpeasant@protonmail.com>
|
||||
# SPDX-FileCopyrightText: 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com>
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
Print_help(){
|
||||
@@ -72,8 +73,9 @@ while read -r line ; do
|
||||
bkup_url=${2}
|
||||
;;
|
||||
esac
|
||||
done <<< $(eval "awk ' /\{.*${name}.*}{/ {flag=1;next} /\}/{flag=0} flag { print }' resources/git/revisions")
|
||||
|
||||
done << EOF
|
||||
$(eval "awk ' /\{.*${name}.*}{/ {flag=1;next} /\}/{flag=0} flag { print }' resources/git/revisions")
|
||||
EOF
|
||||
Check_vars
|
||||
tmp_dir=$(mktemp -dt "${name}_XXXXX")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user