[arch-dev-public] [signoff] devtools-0.8.0

Eric Bélanger snowmaniscool at gmail.com
Mon Nov 2 17:55:32 EST 2009


On Mon, Nov 2, 2009 at 10:31 AM, Dan McGee <dpmcgee at gmail.com> wrote:
> On Mon, Nov 2, 2009 at 9:17 AM, Daenyth Blank <daenyth+arch at gmail.com> wrote:
>> On Mon, Nov 2, 2009 at 10:12, Dan McGee <dpmcgee at gmail.com> wrote:
>>> I'm pretty sure eval-ing a commented line won't do a whole lot:
>>> $ eval '#SRCDEST=foobar'
>>> $ echo $SRCDEST
>>>
>>> $ eval 'SRCDEST=foobar'
>>> $ echo $SRCDEST
>>> foobar
>>>
>>
>> You know... That is a pretty good point. >.>
>>
>> I blame it being too early in the morning :P
>
> Haha no worries, I had just already had my first cup of coffee. :)
>
> -Dan
>

Actually, Daenyth's method is better than mine. If you have something
like this in your makepkg.conf:

#SRCDEST=/mnt/hd-ext
SRCDEST=/var/cache/pacman/src

my eval will fail but Daenyth's eval with regex will work.

Eric


More information about the arch-dev-public mailing list