summaryrefslogtreecommitdiffstats
path: root/bin/copy-figs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/copy-figs')
-rwxr-xr-xbin/copy-figs10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/copy-figs b/bin/copy-figs
index 81b41f3..d07f825 100755
--- a/bin/copy-figs
+++ b/bin/copy-figs
@@ -189,15 +189,15 @@ do
# language neutral
copyIt=${haveManifest}
case "${bn}" in
- *-${targetLang}.* )
- # Has matching language
- copyIt=yes
- ;;
*-*-* )
# Multiple dashes imply ambiguous filename
copyIt=yes
;;
- *-* )
+ *-${targetLang}.* )
+ # Has matching language
+ copyIt=yes
+ ;;
+ *-??.* | *-??_??.* )
# Doesn't match target language
;;
* )