Lose the empty directories only if they exist; otherwise Sanitize complains.
This commit is contained in:
parent
b45caf050c
commit
1f4d2212ef
1 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue