diff options
author | Satoshi Asami <asami@FreeBSD.org> | 2000-07-12 23:29:30 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 2000-07-12 23:29:30 +0000 |
commit | 8d9ad9015d8cb706414d6e1d00170f424c9ef569 (patch) | |
tree | e621c16c6b42bbdc649a0e74e28f6403f978fed8 /Tools | |
parent | a3becc988874c407c1a8d80ab581dd332fe29749 (diff) | |
download | ports-8d9ad9015d8cb706414d6e1d00170f424c9ef569.tar.gz ports-8d9ad9015d8cb706414d6e1d00170f424c9ef569.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/chopindex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/chopindex b/Tools/portbuild/scripts/chopindex index 1c2b4745d595..db29258e0ddb 100755 --- a/Tools/portbuild/scripts/chopindex +++ b/Tools/portbuild/scripts/chopindex @@ -23,7 +23,7 @@ missing=$(/usr/bin/awk -v FS="|" -v pkgdir=$pkgdir '{ delete="" sed="" for i in $missing; do - if fgrep -q $i $tmpindex; then + if grep -q "[ |]$i[ |]" $tmpindex; then delete="$delete $i" sed="$sed -e s/$(echo $i | sed -e 's/\./\\./g')//g" fi |