multiple-outputs.sh: Make _assignFirst message more accurate
This commit is contained in:
@@ -20,7 +20,7 @@ _assignFirst() {
|
|||||||
if [ -n "${!_var-}" ]; then eval "${varName}"="${_var}"; return; fi
|
if [ -n "${!_var-}" ]; then eval "${varName}"="${_var}"; return; fi
|
||||||
done
|
done
|
||||||
echo
|
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 " The following variables were all unset or empty:"
|
||||||
echo " $*"
|
echo " $*"
|
||||||
if [ -z "${out:-}" ]; then
|
if [ -z "${out:-}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user