Przeglądaj źródła

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

Jan Wagner 11 lat temu
rodzic
commit
aada3598ab
1 zmienionych plików z 1 dodań i 1 usunięć
  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"
 CHMOD="/bin/chmod"
 TOUCH="/bin/touch"
 TOUCH="/bin/touch"
 
 
-PROGNAME=`/bin/basename $0`
+PROGNAME=`basename $0`
 PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
 PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
 REVISION="@NP_VERSION@"
 REVISION="@NP_VERSION@"