From 02253ba346520e64f2f67c01e6efb71dd77f3f25 Mon Sep 17 00:00:00 2001
From: Alice BRENON <alice.brenon@ens-lyon.fr>
Date: Tue, 19 Sep 2023 12:13:30 +0200
Subject: [PATCH] Clarify help message in LGE source extractor

---
 scripts/LGE/extract-from-source.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/LGE/extract-from-source.sh b/scripts/LGE/extract-from-source.sh
index e0af410..75a8883 100755
--- a/scripts/LGE/extract-from-source.sh
+++ b/scripts/LGE/extract-from-source.sh
@@ -9,7 +9,7 @@ else
 	SOURCE="${1}"
 	TARGET="${2}"
 	[ -d "${SOURCE}" ] || die "SOURCE_DIRECTORY must be a directory (containing one ALTO/LGE/T<T> directory with one ALTO-XML file per page)"
-	[ -d "${TARGET}" ] || die "TARGET_DIRECTORY must be a directory (where output will be generated)"
+	[ -d "${TARGET}" ] || die "TARGET_DIRECTORY must be a(n existing) directory (where output will be generated)"
 fi
 
 cd "${SOURCE}"
-- 
GitLab