From 0555238816c5d2d6ecb5d12a943723fe9fb437ed Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Tue, 28 May 2024 03:05:40 +0800 Subject: [PATCH] check --- entry.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/entry.sh b/entry.sh index e175435e..509b1dca 100755 --- a/entry.sh +++ b/entry.sh @@ -44,8 +44,9 @@ fi name=$(basename "${INPUT_FACTBASE}") name=${name%.*} if [[ ! "${name}" =~ ^[a-z][a-z0-9-]{1,23}$ ]]; then - echo "The base name of the factbase file (${name}) doesn't match the expected pattern." - echo "It must only include low-case English letters and numbers," + echo "The base name (\"${name}\") of the factbase file doesn't match the expected pattern." + echo "The file name is: \"${INPUT_FACTBASE}\"" + echo "A base name must only include low-case English letters, numbers, and a dash," echo "may start only with a letter, and may not be longer than 24 characters." exit 1 fi