[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
docs-common/bin copy-figs,1.6,1.7
- From: "Tommy Reynolds" (jtr) <fedora-docs-commits redhat com>
- To: fedora-docs-commits redhat com
- Subject: docs-common/bin copy-figs,1.6,1.7
- Date: Thu, 19 Jan 2006 10:31:49 -0500
Author: jtr
Update of /cvs/docs/docs-common/bin
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27369
Modified Files:
copy-figs
Log Message:
Simplify testing through re-ordering.
Index: copy-figs
===================================================================
RCS file: /cvs/docs/docs-common/bin/copy-figs,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- copy-figs 18 Jan 2006 08:37:29 -0000 1.6
+++ copy-figs 19 Jan 2006 15:31:41 -0000 1.7
@@ -140,8 +140,10 @@
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 @@
# language neutral
copyIt=${haveManifest}
case "${bn}" in
- *-*-* )
- # Multiple dashes imply ambiguous filename
- copyIt=yes
- ;;
*-${targetLang}.* )
# Has matching language
copyIt=yes
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]