summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-09 03:20:36 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-09 03:20:36 +0000
commite6f136a5a3ad9107753b6c99dbb6d0c7fb2d1bbb (patch)
tree0089754da325a145071552a14b3506d4658b1320
parent8e400cd517bbb5d2b332d5ad847a75990f2b3ceb (diff)
downloadgcc-e6f136a5a3ad9107753b6c99dbb6d0c7fb2d1bbb.tar.gz
* fixincludes: Avoid removing '.'. * fixinc/fixinc.svr4: Likewise. * fixinc/fixinc.winnt: Likewise. * fixinc/inclhack.tpl: Likewise. * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27439 138bc75d-0d04-0410-961f-82ee72b054a4
-rwxr-xr-xgcc/fixincludes2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index c9a65218555..b559d033c61 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -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