From 359dbdccded174ffd8e3fdc6743e891786c31978 Mon Sep 17 00:00:00 2001 From: will Date: Mon, 20 May 2002 07:50:16 +0000 Subject: Use a RE to find the X dependency instead of hardcoding. --- Tools/scripts/release/doit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tools/scripts') diff --git a/Tools/scripts/release/doit.sh b/Tools/scripts/release/doit.sh index 4537d29..d2ac491 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 -- cgit v1.1