Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2014 19:16:36 +0200 (CEST)
From:      Melvyn Sopacua <melvyn@magemana.nl>
To:        ports@FreeBSD.org
Subject:   Re: COPYTREE_BIN/COPYTREE_SHARE does not work as expected
Message-ID:  <alpine.BSF.2.00.1407061913140.62147@fire.magemana.nl>
In-Reply-To: <20140706173903.6a17da01@FreeBSD.org>
References:  <20140705120457.GA1772@gmail.com> <20140706153509.2d9dead2@FreeBSD.org> <alpine.BSF.2.00.1407061621430.932@fire.magemana.nl> <20140706173903.6a17da01@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Pawel,

On Sun, 6 Jul 2014, Pawel Pekala wrote:

> Hi Melvyn,
>
> On 2014-07-06 16:34 +0200, Melvyn Sopacua <melvyn@magemana.nl> wrote:
>> + /usr/bin/find -d . -not -name '"*.bak"'
>>
>> This has always been broken for globs as far as I know, which is why
>> cleaning up in post-patch is done.
>
> Little hackish, but this seems to work:
>
> (cd ${TESTDIR}/src && ${COPYTREE_SHARE} . ${TESTDIR}/dst "-not -name *\.bak")

Wow, great find. Defenitely needs documentation :).
--
Melvyn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1407061913140.62147>