mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 19:06:00 +08:00
fixincludes: Avoid removing '.'.
� * fixincludes: Avoid removing '.'. * fixinc/fixinc.svr4: Likewise. * fixinc/fixinc.winnt: Likewise. * fixinc/inclhack.tpl: Likewise. * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt. From-SVN: r27439
This commit is contained in:
parent
cddc8cd504
commit
a718fe3186
@ -3242,7 +3242,7 @@ find . -name DONE -exec rm -f '{}' ';'
|
||||
|
||||
echo 'Removing unneeded directories:'
|
||||
cd $LIB
|
||||
files=`find . -type d -print | sort -r`
|
||||
files=`find . -type d \! -name '.' -print | sort -r`
|
||||
for file in $files; do
|
||||
rmdir $LIB/$file > /dev/null 2>&1
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user