Subject: Re: Trailing / in pathnames passed to build.sh
To: None <tech-toolchain@NetBSD.org>
From: Bang Jun-Young <junyoung@mogua.com>
List: tech-toolchain
Date: 08/17/2004 11:01:47
der Mouse wrote:
> > How about this:
>
> > + [ ${OPTARG} != "/" ] && OPTARG="${OPTARG%/}"
>
> [ "${OPTARG}" != "/" ] && OPTARG="${OPTARG%/}"
>
> surely?
Yup. :-)
Jun-Young