Skip to content

Commit 20849dc

Browse files
authored
check_required_files: Correctly display the name of the missing alt file (#2212)
there is no such variable alternate_filename. It needs to be alternative_filename instead.
1 parent e995da8 commit 20849dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/check_required_files_present

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function require_file_or_alternative {
2525
filename=$1
2626
alternative_filename=$2
2727
if [ ! -f $filename ] && [ ! -f $alternative_filename ]; then
28-
echo "required file missing: $filename or $alternate_filename" >&2
28+
echo "required file missing: $filename or $alternative_filename" >&2
2929
let "MISSING_FILES+=1"
3030
fi
3131
}

0 commit comments

Comments
 (0)