Explorar el Código

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

Jan Wagner hace 11 años
padre
commit
aada3598ab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plugins-scripts/check_log.sh

+ 1 - 1
plugins-scripts/check_log.sh

@@ -68,7 +68,7 @@ RM="/bin/rm"
 CHMOD="/bin/chmod"
 TOUCH="/bin/touch"
 
-PROGNAME=`/bin/basename $0`
+PROGNAME=`basename $0`
 PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
 REVISION="@NP_VERSION@"