[CUWiN-Dev] Re: new patch for makeplist

David Young dyoung at pobox.com
Wed Jan 12 14:30:19 CST 2005


On Wed, Jan 12, 2005 at 01:51:44PM -0600, Bill Comisky wrote:
> On Wed, 12 Jan 2005, David Young wrote:
> 
> >On Wed, Jan 12, 2005 at 12:11:35AM -0600, Bill Comisky wrote:
> >>On Tue, 11 Jan 2005, David Young wrote:
> >>
> >>>Bill,
> >>>
> >>>Give this patch a shot.  It applies to src/distrib/sets/makeplist in
> >>>your 0.5.4 NetBSD sources.
> >>
> >>That mostly did the trick.  The find -mindepth option is still used once
> >>in user.subr.  I just replaced find with the just-built version in
> >>$DESTDIR/usr/bin (see attached) as a workaround.
> >
> >I sent a patch for user.subr the other day.  It should work.
> 
> find $DESTDIR/etc/skel/*
> 
> won't match the .* files.  '-type' is POSIX so
> 
>   find $DESTDIR/etc/skel -type f
> 
> works and doesn't match . or .. (see attached patch).

Ah, thanks.

That will not recurse if we add subdirs (.ssh/, say) to /etc/skel/,
so how about 'find $DESTDIR/etc/skel | tail -n +2' ?  That skips the
first line, which is always going to be /etc/skel/, and /etc/skel/
is all that I want to skip.

Dave

> _______________________________________________
> CU-Wireless-Dev mailing list
> CU-Wireless-Dev at lists.cuwireless.net
> http://lists.chambana.net/cgi-bin/listinfo/cu-wireless-dev


-- 
David Young             OJC Technologies
dyoung at ojctech.com      Urbana, IL * (217) 278-3933


More information about the CU-Wireless-Dev mailing list