aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1997-09-22 00:27:36 +0000
committerKen Raeburn <raeburn@cygnus>1997-09-22 00:27:36 +0000
commit1f4d2212efb29e0a610010072bf74cebf0b24524 (patch)
tree3e3bd162cd1852ef886f9f02c37ff3f85cb8f1dc
parentb45caf050caea8283ab17a2f6cc76a2208763132 (diff)
downloadgdb-1f4d2212efb29e0a610010072bf74cebf0b24524.zip
gdb-1f4d2212efb29e0a610010072bf74cebf0b24524.tar.gz
gdb-1f4d2212efb29e0a610010072bf74cebf0b24524.tar.bz2
Lose the empty directories only if they exist; otherwise Sanitize complains.
-rw-r--r--gas/.Sanitize12
1 files changed, 7 insertions, 5 deletions
diff --git a/gas/.Sanitize b/gas/.Sanitize
index ddf3bff..64d0fce 100644
--- a/gas/.Sanitize
+++ b/gas/.Sanitize
@@ -15,6 +15,13 @@
Do-first:
+lose_these_too=""
+for d in obsolete regress regress.m68k testscripts ; do
+ if [ -d $d ]; then
+ lose_these_too="${lose_these_too} $d"
+ fi
+done
+
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
@@ -110,11 +117,6 @@ write.h
Things-to-lose:
-obsolete
-regress
-regress.m68k
-testscripts
-
Do-last:
if ( echo $* | grep keep\-gm > /dev/null ) ; then