aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-07-12 23:29:30 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-07-12 23:29:30 +0000
commit8d9ad9015d8cb706414d6e1d00170f424c9ef569 (patch)
treee621c16c6b42bbdc649a0e74e28f6403f978fed8 /Tools
parenta3becc988874c407c1a8d80ab581dd332fe29749 (diff)
downloadports-8d9ad9015d8cb706414d6e1d00170f424c9ef569.tar.gz
ports-8d9ad9015d8cb706414d6e1d00170f424c9ef569.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/chopindex2
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