[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-users
Subject:    Re: Problem updating 1.6_STABLE
From:       Lista de NetBSD Users <list10 () sepc ! edu ! mx>
Date:       2002-12-23 2:14:37
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic