* fma: don't use $0 inside usage-function but hardcode program
authorMichael Prokop <mika@grml.org>
Sat, 28 Oct 2006 11:21:21 +0000 (13:21 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 28 Oct 2006 11:21:21 +0000 (13:21 +0200)
    name instead.

debian/changelog
usr_bin/fma

index e6c7111..6878ac0 100644 (file)
@@ -1,3 +1,10 @@
+grml-scripts (0.8-27) unstable; urgency=low
+
+  * fma: don't use $0 inside usage-function but hardcode program
+    name instead.
+
+ -- Michael Prokop <mika@grml.org>  Sat, 28 Oct 2006 13:20:50 +0200
+
 grml-scripts (0.8-26) unstable; urgency=low
 
   * Split out network related scripts into package grml-network,
index 9adb134..5e85474 100755 (executable)
@@ -4,7 +4,7 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Sam Okt 28 00:50:16 CEST 2006 [mika]
+# Latest change: Sam Okt 28 13:20:46 CEST 2006 [mika]
 ################################################################################
 
 . /etc/grml/lsb-functions
@@ -21,7 +21,7 @@ if ! [ -d "$MANDIR" ] ; then
 fi
 
 usage() {
-   eerror "Usage: $0 [section] manpage" ; eend 1
+   eerror "Usage: fma [section] manpage" ; eend 1
    exit 1
 }
 
@@ -30,7 +30,7 @@ case $1 in
     usage
     ;;
   -v*|--v*)
-    einfo "$0 - version $VERSION" ; eend 0
+    einfo "fma - version $VERSION" ; eend 0
     exit 0
     ;;
   [0-9])
@@ -62,6 +62,6 @@ fi
 
 vim -c 'set ft=man' =( lzop -cd $MANDIR/${MANPAGE}${SECTIONFILE}.txt.lzo)
 
-einfo "Thanks for flying $0." ; eend 0
+einfo "Thanks for flying fma." ; eend 0
 
 ## END OF FILE #################################################################