Subject: Re: Trailing / in pathnames passed to build.sh
To: Alan Barrett <apb@cequrux.com>
From: Andrew Brown <atatat@atatdot.net>
List: tech-toolchain
Date: 08/17/2004 00:53:25
On Mon, Aug 16, 2004 at 10:37:45PM +0200, Alan Barrett wrote:
>On Tue, 17 Aug 2004, Bang Jun-Young wrote:
>> --- build.sh    6 Feb 2004 23:19:30 -0000       1.127
>> +++ build.sh    16 Aug 2004 18:40:20 -0000
>> @@ -324,6 +324,7 @@
>> 
>>  resolvepath()
>>  {
>> +       OPTARG=`echo ${OPTARG} | sed -e 's/\/$//'`
>>         case "${OPTARG}" in
>>         /*)
>>                 ;;
>> 
>> Any comments?
>
>* You probably can't rely on a working sed being available so early in
>  the build process.

you mean to suggest that sed implementations actually exist that can't
do that?

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."