[pacman-dev] Fwd: [arch-general] makepkg not stripping bin/libs

Travis Willard travis at archlinux.org
Thu Jan 24 15:17:33 EST 2008


On Jan 24, 2008 2:55 PM, Dan McGee <dpmcgee at gmail.com> wrote:
> On Jan 24, 2008 10:40 AM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> > On Jan 24, 2008 6:14 AM, Travis Willard <travis at archlinux.org> wrote:
> > > This feels more like pacman-dev material - forwarded there.
> >
> > Thanks Travis.
> >
> > > ---------- Forwarded message ----------
> > > From: Mark Constable <markc at renta.net>
> > >
> > > makegpkg 3.1.1 line ~752 has this...
> > >
> > >  find {,usr/{,local/},opt/}{bin,lib,sbin} -type f
> > >
> > > and I can't see how that will ever work, and it doesn't
> > > for me, however this does work (for me)...
> >
> > Could you please explain why this will "never work". It makes complete
> > sense to me.
>
> It looks like it will match opt/bin, but not opt/kde4/bin, for
> instance. Is this what you originally meant by "never working"? You
> shouldn't make such blanket statements though.
>
> find {,usr/{,local/},opt/*/}{bin,lib,sbin} -type f
>
> Will this work? (note '*/' addition)
>
> > >  find -regex ".+/bin/.+" -o -regex ".+/lib/.+" -o -regex ".+/sbin/.+" -type f
> >
> > First question: is -regex portable?
>
> Not sure if it is. I'll let Mark look into this.
>
> -Dan
>
> P.S. Aaron- I CCed the original author in as he probably isn't on this
> list, so he never saw your reply.

BCC'd?  'cause I don't see him in the CC list.




More information about the pacman-dev mailing list