summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-01-19 15:31:41 +0000
committerTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-01-19 15:31:41 +0000
commitb99ca8ab2cca37cf6ccda45ee61da2bac73381cf (patch)
tree0826157e0451c7e1f84afd0ab04b20afd9eec914 /bin
parenta16b08f9c27fa7498561b97fdf5bf234c302b6fd (diff)
downloadfedora-doc-utils-b99ca8ab2cca37cf6ccda45ee61da2bac73381cf.tar.gz
fedora-doc-utils-b99ca8ab2cca37cf6ccda45ee61da2bac73381cf.tar.xz
fedora-doc-utils-b99ca8ab2cca37cf6ccda45ee61da2bac73381cf.zip
Simplify testing through re-ordering.
Diffstat (limited to 'bin')
-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