Aaron Griffin wrote:
> On Mon, Jul 28, 2008 at 4:12 PM, Xavier <[EMAIL PROTECTED]> wrote:
>   
>> What about handling it just like a normal variable ?
>> [EMAIL PROTECTED] ~]$ array=({foo,bar,baz})
>> [EMAIL PROTECTED] ~]$ [ -z "$array" ] || echo array not empty
>> array not empty
>> [EMAIL PROTECTED] ~]$ unset array
>> [EMAIL PROTECTED] ~]$ [ -z "$array" ] || echo array not empty
>> [EMAIL PROTECTED] ~]$
>>     
>
> 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...

Allan




_______________________________________________
pacman-dev mailing list
[email protected]
http://archlinux.org/mailman/listinfo/pacman-dev

Reply via email to