From b99ca8ab2cca37cf6ccda45ee61da2bac73381cf Mon Sep 17 00:00:00 2001 From: Tommy Reynolds Date: Thu, 19 Jan 2006 15:31:41 +0000 Subject: Simplify testing through re-ordering. --- bin/copy-figs | 10 ++++------ 1 file 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 -- cgit