mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
Lose the empty directories only if they exist; otherwise Sanitize complains.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user