SOURCES: rpm-find-lang - avoid confusion when $NAME is noun

glen glen at pld-linux.org
Fri Feb 15 01:06:44 CET 2008


Author: glen                         Date: Fri Feb 15 00:06:44 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- avoid confusion when $NAME is noun

---- Files affected:
SOURCES:
   rpm-find-lang (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SOURCES/rpm-find-lang
diff -u SOURCES/rpm-find-lang:1.29 SOURCES/rpm-find-lang:1.30
--- SOURCES/rpm-find-lang:1.29	Thu Feb 14 16:37:51 2008
+++ SOURCES/rpm-find-lang	Fri Feb 15 01:06:39 2008
@@ -78,7 +78,7 @@
 fi
 shift
 
-echo "$PROG $VERSION: find-lang for $NAME"
+echo "$PROG $VERSION: find-lang for '$NAME'"
 
 GNOME='#'
 KDE='#'
@@ -211,6 +211,6 @@
 s:%lang(C) ::' >> $MO_NAME
 
 if [ "$(egrep -v '(^%defattr|^$)' $MO_NAME | wc -l)" -le 0 ]; then
-	echo >&2 "Error: international files not found for $NAME!"
+	echo >&2 "$PROG: Error: international files not found for '$NAME'!"
 	exit 1
 fi
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-find-lang?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list