don't sanitize out empty directories if they're not here (e.g., 'cvs co -P')
authorKen Raeburn <raeburn@cygnus>
Mon, 22 Sep 1997 01:06:25 +0000 (01:06 +0000)
committerKen Raeburn <raeburn@cygnus>
Mon, 22 Sep 1997 01:06:25 +0000 (01:06 +0000)
gas/config/.Sanitize
gas/testsuite/gas/.Sanitize

index 547f8bc657e574ec8454e81a1cc2ed6f44be15df..21590737d6fd6ef525ccb0465541daaa7669a48d 100644 (file)
 
 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"
index 197c98a46694fdbf92f8c9e9f9f50341a164201b..229b497e40ad667958517ab50275e3e3b3173d44 100644 (file)
 
 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.