multiple-outputs.sh: Make _assignFirst message more accurate

This commit is contained in:
Robert Hensing 2023-02-26 09:57:19 +01:00
parent 6e91cb046e
commit c8b7048233

View File

@ -20,7 +20,7 @@ _assignFirst() {
if [ -n "${!_var-}" ]; then eval "${varName}"="${_var}"; return; fi
done
echo
echo "error: _assignFirst: could not find a non-empty variable to assign to ${varName}."
echo "error: _assignFirst: could not find a non-empty variable whose name to assign to ${varName}."
echo " The following variables were all unset or empty:"
echo " $*"
if [ -z "${out:-}" ]; then