[pacman-dev] [PATCH] Make strip paths configurable

Allan McRae allan at archlinux.org
Mon Jul 28 22:22:06 EDT 2008

Aaron Griffin wrote:
> On Mon, Jul 28, 2008 at 4:12 PM, Xavier <shiningxc at gmail.com> wrote:
>> What about handling it just like a normal variable ?
>> [xavier at nx7400 ~]$ array=({foo,bar,baz})
>> [xavier at nx7400 ~]$ [ -z "$array" ] || echo array not empty
>> array not empty
>> [xavier at nx7400 ~]$ unset array
>> [xavier at nx7400 ~]$ [ -z "$array" ] || echo array not empty
>> [xavier at nx7400 ~]$
> That'd work, except for cases of idiocy, like...
> array=('' {foo,bar,baz})

That would be telling makepkg to strip files in /  so that is 
multiple-idiocy to me - firstly for putting files in / and secondly for 
realizing it and thinking it would be a good idea to strip them.  I am 
happy to go with that fix and will point and say idiot to any person who 
strikes this...


More information about the pacman-dev mailing list