Skip to content

Commit ef52c7a

Browse files
committed
put fully qualified path to basename
1 parent c448773 commit ef52c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎tomcat6/files/default/tomcat6‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ulimit -n 4096
2323
# set a minimalist PATH
2424
PATH="/bin:/sbin"
2525

26-
NAME="$(basename $0)"
26+
NAME="$(/usr/bin/basename $0)"
2727
unset ISBOOT
2828
if [ "${NAME:0:1}"="S"-o"${NAME:0:1}"="K" ];then
2929
NAME="${NAME:3}"

0 commit comments

Comments
(0)