[pacman-dev] [PATCH] makepkg: replace basename emulation via sed with a bash substitution
Allan McRae
allan at archlinux.org
Tue Oct 20 09:59:46 EDT 2009
Cedric Staniewski wrote:
> Allan McRae wrote:
>
>> This is what you are looking for:
>> size=${size%%[^0-9]*}
>>
>
> Wow, thanks a lot! Sometimes, it's just that easy. ;)
>
>
>> I will pull this patch with those two minor changes to my working branch
>> in the next couple of days.
>>
>
> I attached a new patch containing these two changes. The former one did not apply cleanly anyway due to a formatting error in its header.
>
Thanks,
Applied and pushed to my working branch.
Allan
More information about the pacman-dev
mailing list