SOURCES: rpm-find-lang - display own version on startup

glen glen at pld-linux.org
Thu Feb 14 16:37:56 CET 2008


Author: glen                         Date: Thu Feb 14 15:37:56 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- display own version on startup

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

---- Diffs:

================================================================
Index: SOURCES/rpm-find-lang
diff -u SOURCES/rpm-find-lang:1.28 SOURCES/rpm-find-lang:1.29
--- SOURCES/rpm-find-lang:1.28	Thu Feb 14 16:32:28 2008
+++ SOURCES/rpm-find-lang	Thu Feb 14 16:37:51 2008
@@ -35,11 +35,10 @@
 #   * start support for KDE help files
 
 PROG=${0##*/}
-REVISION='$Revision$'
+VERSION=$(set -- $Revision$; echo $2)
 
 usage () {
 cat <<EOF
-
 Usage: $PROG TOP_DIR PACKAGE_NAME [prefix]
 
 where TOP_DIR is
@@ -79,6 +78,8 @@
 fi
 shift
 
+echo "$PROG $VERSION: find-lang for $NAME"
+
 GNOME='#'
 KDE='#'
 OMF='#'
================================================================

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



More information about the pld-cvs-commit mailing list