[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 17-fyi-fix-lineno.patch
From: |
Raja R Harinath |
Subject: |
Re: 17-fyi-fix-lineno.patch |
Date: |
Fri, 05 Oct 2001 12:13:13 -0500 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.105 |
Hi,
Akim Demaille <address@hidden> writes:
> case $[0] in
> - *[[\\/]]* | ?:[[\\/]]* ) as_myself=$[0] ;;
> + [[\\/]]* | ?:[[\\/]]* ) as_myself=$[0] ;;
> *) _AS_PATH_WALK([],
> [test -r "$as_dir/$[0]" && as_myself=$as_dir/$[0] &&
> break])
> ;;
> esac
I think this is wrong. We should walk the path only if the script was
invoked as a bareword. If it was invoked as '../src/configure', $PATH
should not be searched. The original glob was right.
- Hari
--
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash