Some tools have code like this:
if [ $(basename "$0") = "diskstats" ] || [ $(basename "$0") = "bash" -a "$_" =
"$0" ]; then
main $@
fi
That will break if basename $0 has anything funny in it, so that needs to be
quoted.
Original issue reported on code.google.com by baron.schwartz on 22 Feb 2011 at 1:54
Original issue reported on code.google.com by
baron.schwartz
on 22 Feb 2011 at 1:54