diff options
author | tnn <tnn@pkgsrc.org> | 2007-06-29 17:16:24 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-06-29 17:16:24 +0000 |
commit | 1812dfe1559f68e9595577eaec24f38b684b657c (patch) | |
tree | 8a0659b971f95c882ce2ed125e8ff6f8c9c83055 /pkgtools | |
parent | c752744b578681eddb1137c3b9ce83431235debe (diff) | |
download | pkgsrc-1812dfe1559f68e9595577eaec24f38b684b657c.tar.gz |
*really* fix previous.
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh index 873adc20435..743bd318d3b 100755 --- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh +++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh @@ -1,6 +1,6 @@ #!/bin/sh -# $NetBSD: pkg_rolling-replace.sh,v 1.9 2007/06/29 17:00:44 tnn Exp $ +# $NetBSD: pkg_rolling-replace.sh,v 1.10 2007/06/29 17:16:24 tnn Exp $ #<license> # Copyright (c) 2006 BBN Technologies Corp. All rights reserved. # @@ -334,8 +334,8 @@ while [ -n "$REPLACE_TODO" ]; do bdeps=$(${MAKE} show-depends VARNAME=BUILD_DEPENDS) rdeps=$(${MAKE} show-depends) for depver in $bdeps $rdeps; do - dep=$(echo $depver | sed -e 's/[:[].*$/0/' -e 's/>=[0-9][^-]*$//' \ - -e 's/<=[0-9][^-]*$//' -e 's/-[0-9][^-]*$//') + dep=$(echo $depver | sed -e 's/[:[].*$/0/' -e 's/[<>]=/-/' \ + -e 's/-[0-9][^-]*$//') if ! is_member $dep $OLD_DEPENDS $NEW_DEPENDS; then NEW_DEPENDS="$NEW_DEPENDS $dep" DEPGRAPH_SRC="$DEPGRAPH_SRC $dep $pkg" |