Ver código fonte

check_log.sh: droping path from basename
while evaluating PROGNAME (Closes Debian Bug #758662)

Jan Wagner 12 anos atrás
pai
commit
d4b6d09f10
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      plugins-scripts/check_log.sh

+ 1 - 1
plugins-scripts/check_log.sh

@@ -58,7 +58,7 @@
 # Paths to commands used in this script.  These
 # may have to be modified to match your system setup.
 
-PROGNAME=`/bin/basename $0`
+PROGNAME=`basename $0`
 PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
 REVISION="@NP_VERSION@"
 PATH="@TRUSTED_PATH@"