failure case

This commit is contained in:
Jacob Heider 2022-11-09 14:47:21 -05:00 committed by Max Howell
parent 29cb04dd8b
commit f3f0c659bb

View file

@ -15,6 +15,9 @@ if which "$exe" 2>&1; then
# (invoking `ld` as `lld64.ld`) watch for those potential cases # (invoking `ld` as `lld64.ld`) watch for those potential cases
elif which ld 2>&1; then elif which ld 2>&1; then
exe=$(which ld) exe=$(which ld)
else
echo 'ld not found in PATH' >&2
exit 127
fi fi
if test -z "$TEA_PREFIX" if test -z "$TEA_PREFIX"