lib.sh: shorten a string in e()
line exceeds 80 characters Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
9b00b30a4f
commit
08d0a1d5d8
|
@ -210,7 +210,7 @@ e()
|
||||||
[ $# -gt 1 ] && es_t="$2"
|
[ $# -gt 1 ] && es_t="$2"
|
||||||
es2="already exists"
|
es2="already exists"
|
||||||
estr="[ -$es_t \"\$1\" ] || return 1"
|
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"
|
eval "$estr"
|
||||||
printf "%s %s\n" "$1" "$es2" 1>&2
|
printf "%s %s\n" "$1" "$es2" 1>&2
|
||||||
|
|
Loading…
Reference in New Issue