aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1997-09-22 01:06:25 +0000
committerKen Raeburn <raeburn@cygnus>1997-09-22 01:06:25 +0000
commit6438209c609ad46dd1dc8a3cc967bfeb5e28686f (patch)
treedc1894a45cc2b8f38924edd34b6c7a45906799ad
parent1f4d2212efb29e0a610010072bf74cebf0b24524 (diff)
downloadgdb-6438209c609ad46dd1dc8a3cc967bfeb5e28686f.zip
gdb-6438209c609ad46dd1dc8a3cc967bfeb5e28686f.tar.gz
gdb-6438209c609ad46dd1dc8a3cc967bfeb5e28686f.tar.bz2
don't sanitize out empty directories if they're not here (e.g., 'cvs co -P')
-rw-r--r--gas/config/.Sanitize6
-rw-r--r--gas/testsuite/gas/.Sanitize11
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.