Subject: Re: Repetative OWN_DIRS_PERMS
To: Mike M. Volokhov <mishka@terabyte.com.ua>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-pkg
Date: 09/17/2003 22:06:51
On Wed, 17 Sep 2003 22:52:36 +0300
"Mike M. Volokhov" <mishka@terabyte.com.ua> wrote:
> $ make USER_DIR_1=mydir USER_DIR_2=mydir
>
> In this case "make deinstall" shows two just the same directories:
>
> ===========================================================================
> If you won't be using foo-0.0 any longer, you may want to remove
>
> * the following directories:
>
> mydir
> mydir
>
> ===========================================================================
>
> As you can uderstand, this list may be very long. The patch below
> tries to improve this situation.
Which problem are you exactly trying to solve? Avoiding repeated directories?
If so, just sort(1) the list and then use uniq(1) on the results.
Cheers
--
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/