From 6438209c609ad46dd1dc8a3cc967bfeb5e28686f Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 22 Sep 1997 01:06:25 +0000 Subject: don't sanitize out empty directories if they're not here (e.g., 'cvs co -P') --- gas/config/.Sanitize | 6 ++++-- gas/testsuite/gas/.Sanitize | 11 ++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize index 547f8bc..2159073 100644 --- a/gas/config/.Sanitize +++ b/gas/config/.Sanitize @@ -15,6 +15,10 @@ Do-first: +if [ -d vms ]; then + lose_these_too="vms ${lose_these_too}" +fi + d30v_files="tc-d30v.c tc-d30v.h" if ( echo $* | grep keep\-d30v > /dev/null ) ; then @@ -166,8 +170,6 @@ vms-a-conf.h Things-to-lose: -vms - Do-last: r5900_files="tc-mips.c" diff --git a/gas/testsuite/gas/.Sanitize b/gas/testsuite/gas/.Sanitize index 197c98a..229b497 100644 --- a/gas/testsuite/gas/.Sanitize +++ b/gas/testsuite/gas/.Sanitize @@ -17,6 +17,12 @@ Do-first: +for d in gasp i386-bsd ieee.fp mn10x00 ; do + if [ -d $d ]; then + lose_these_too="$d ${lose_these_too}" + fi +done + if ( echo $* | grep keep\-tic80 > /dev/null ) ; then keep_these_too="tic80 ${keep_these_too}" else @@ -64,11 +70,6 @@ vax Things-to-lose: -gasp -i386-bsd -ieee.fp -mn10x00 - Do-last: # End of file. -- cgit v1.1