>>>>> On Mon, 19 May 2014, Alex Xu wrote:

> On 18/05/14 02:13 PM, Ulrich Mueller wrote:
>> if [[ ${EBUILD_PHASE} = *rm && ! -e ${sitelisp}/site-gentoo.el ]]; then
>> ewarn "Refusing to create site-gentoo.el in ${EBUILD_PHASE} phase."
>> return 0
>> fi
>> 
>> +    [[ -d ${sitelisp} ]] \
>> +            || die "elisp-site-regen: Directory ${sitelisp} does not exist"
>> +
>> +    [[ -d ${T} ]] \
>> +            || die "elisp-site-regen: Temporary directory ${T} does not 
>> exist"
>> +
> !qefs

> if ROOT, EPREFIX, or SITELISP has whitespace, this will throw a syntax
> error.

Where? In the snippet you quoted, I don't see where whitespace in
${sitelisp} could cause any problems.

"Word splitting and filename expansion are not performed on the words
between the `[[' and `]]'" -- GNU Bash Reference Manual

Ulrich

Attachment: pgpQP7igeKrOk.pgp
Description: PGP signature

Reply via email to