diff options
| author | garbled <garbled@NetBSD.org> | 2001-01-05 07:50:12 +0000 |
|---|---|---|
| committer | garbled <garbled@NetBSD.org> | 2001-01-05 07:50:12 +0000 |
| commit | c6745fa911de4b2feff9d4be8cbea2bfc7467de6 (patch) | |
| tree | 607d50d8e711246078109fdec015352f4b81f7d9 | |
| parent | 6faffe5be64e714e001603cd285ea9a1c01dc7dc (diff) | |
Change the sed string to work better with -current..
| -rwxr-xr-x | share/sushi/install/installb/script | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/sushi/install/installb/script b/share/sushi/install/installb/script index 9f7325b4d43..1144b149877 100755 --- a/share/sushi/install/installb/script +++ b/share/sushi/install/installb/script @@ -1,7 +1,7 @@ #!/bin/sh -x -# $NetBSD: script,v 1.1 2001/01/05 02:06:57 garbled Exp $ +# $NetBSD: script,v 1.2 2001/01/05 07:50:12 garbled Exp $ if [ -z "$PKG_PATH" ]; then PKG_PATH="ftp://ftp.netbsd.org/pub/NetBSD/packages" fi -NBSDVERS=`uname -r | sed 's@\.\([0-9]*\)[\._].*@\.\1@'` +NBSDVERS=`uname -r | sed 's@\.\([0-9]*\)[A-Z_].*@\.\1@'` pkg_add -v ${PKG_PATH}/${NBSDVERS}/`uname -m`/$2/${1}.tgz |
