aboutsummaryrefslogtreecommitdiff
path: root/Tools/scripts
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-05-20 07:50:16 +0000
committerWill Andrews <will@FreeBSD.org>2002-05-20 07:50:16 +0000
commit90405e668bca6f9ee7d31ba9eca0a092c2e87ab8 (patch)
tree6529ac63b05e694ec0e6aaddfe9576527e57b33f /Tools/scripts
parent4230758a38ee9e770187ab0419d3a28fc7851e06 (diff)
downloadports-90405e668bca6f9ee7d31ba9eca0a092c2e87ab8.tar.gz
ports-90405e668bca6f9ee7d31ba9eca0a092c2e87ab8.zip
Use a RE to find the X dependency instead of hardcoding.
Notes
Notes: svn path=/head/; revision=59516
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/release/doit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/release/doit.sh b/Tools/scripts/release/doit.sh
index 4537d29afcfc..d2ac491784a8 100755
--- a/Tools/scripts/release/doit.sh
+++ b/Tools/scripts/release/doit.sh
@@ -20,7 +20,7 @@ fi
logs="$dir/gen"
pkgs="$ports/packages/All"
scripts="$dir"
- xdep="XFree86-3.3.6_10"
+ xdep_re="^XFree86-3.3.6_1[0-9]$"
#
##############################################################################
@@ -76,7 +76,7 @@ if [ X$ans != Xn -a X$ans != XN ]; then
for disc in `cat config | grep -v '#' | sed -e 's/[ ].*//'`; do
echo "disc $disc" >> $logs/need.ALL
$scripts/print-cdrom-packages.sh `echo $disc | sed -e 's/^disc//'` \
- $ports | grep -v $xdep | tee $logs/need.$disc >> $logs/need.ALL
+ $ports | grep -Ev $xdep_re | tee $logs/need.$disc >> $logs/need.ALL
done
fi