Explorar o código

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

Jan Wagner %!s(int64=11) %!d(string=hai) anos
pai
achega
aada3598ab
Modificáronse 1 ficheiros con 1 adicións e 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@"