summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/copy-figs10
1 files changed, 4 insertions, 6 deletions
diff --git a/bin/copy-figs b/bin/copy-figs
index 382f9e7..e7b6118 100755
--- a/bin/copy-figs
+++ b/bin/copy-figs
@@ -140,8 +140,10 @@ haveManifest=$(
fi
)
[ "${DEBUG}" ] || echo >&2 "haveManifest=|${haveManifest}|"
-[ "${VERBOSE}" -a "${haveManifest}" = "yes" ] ||
- echo >&2 "Using manifest to get file names"
+if [ "${haveManifest}" = "yes" ]; then
+ [ "${VERBOSE}" ] ||
+ echo >&2 "Using manifest to get ${targetLang} file names"
+fi
(
if [ "${haveManifest}" = "yes" ]; then
@@ -191,10 +193,6 @@ do
# language neutral
copyIt=${haveManifest}
case "${bn}" in
- *-*-* )
- # Multiple dashes imply ambiguous filename
- copyIt=yes
- ;;
*-${targetLang}.* )
# Has matching language
copyIt=yes