mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
lib.sh: shorten a string in e()
line exceeds 80 characters Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-1
@@ -210,7 +210,7 @@ e()
|
||||
[ $# -gt 1 ] && es_t="$2"
|
||||
es2="already exists"
|
||||
estr="[ -$es_t \"\$1\" ] || return 1"
|
||||
[ $# -gt 2 ] && estr="[ -$es_t \"\$1\" ] && return 1" && es2="not found"
|
||||
[ $# -gt 2 ] && estr="[ -$es_t \"\$1\" ] && return 1" && es2="missing"
|
||||
|
||||
eval "$estr"
|
||||
printf "%s %s\n" "$1" "$es2" 1>&2
|
||||
|
||||
Reference in New Issue
Block a user