docs-common/bin copy-figs,1.6,1.7

Tommy Reynolds (jtr) fedora-docs-commits at redhat.com
Thu Jan 19 15:31:49 UTC 2006


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




More information about the Fedora-docs-commits mailing list