On Mon, Nov 2, 2009 at 5:55 PM, Eric Bélanger <snowmaniscool@gmail.com> wrote:
On Mon, Nov 2, 2009 at 10:31 AM, Dan McGee <dpmcgee@gmail.com> wrote:
On Mon, Nov 2, 2009 at 9:17 AM, Daenyth Blank <daenyth+arch@gmail.com> wrote:
On Mon, Nov 2, 2009 at 10:12, Dan McGee <dpmcgee@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
I just sent a patch (seperate thread in this ML). Eric