Subject: Re: Problem updating 1.6_STABLE
To: Steven M. Bellovin <smb@research.att.com>
From: Lista de NetBSD Users <list10@sepc.edu.mx>
List: netbsd-users
Date: 12/22/2002 20:14:37
On Sun, 22 Dec 2002, Steven M. Bellovin wrote:
> ----------------------------------------------------------------------
> #!/bin/sh
>
> if [ -z "$1" -o ! -d "$1" ]; then
> 	echo "$0: directory not specified or not a directory"
> 	echo "Synopsis: $0 DIRECTORY"
> 	exit 1
> fi
>
> find "$1" -path '*/CVS/Repository' | \
> while read fname; do
> 	sed -e 's@^.*base\(src\)@\1@'     \
> 		-e 's@^.*gnu\(src\)@\1@' \
> 		-e 's@^.*share\(src\)@\1@' \
> 		-e 's@^.*sys\(src\)@\1@' \
> 	 "$fname" > "$fname.out"
> 	mv "$fname.out" "$fname"
> done
> ----------------------------------------------------------------------

Thanks, Steven

I had the wrong supousition that such script is only
for -current users

"./myscript /usr/src" was the solution for the problem and
I can update now 1.6_STABLE

Thanks again

Heron Gallegos