summaryrefslogtreecommitdiff
path: root/gcc/fixinc/fixinc.svr4
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-09 03:20:44 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-09 03:20:44 +0000
commit0f5d49d35f6b0f4d154f983fb51ae15afcfb5621 (patch)
treee32fbd0a3a9fea4c43d108cef0937ef6da7f7a15 /gcc/fixinc/fixinc.svr4
parente6f136a5a3ad9107753b6c99dbb6d0c7fb2d1bbb (diff)
downloadgcc-0f5d49d35f6b0f4d154f983fb51ae15afcfb5621.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@27440 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc/fixinc.svr4')
-rwxr-xr-xgcc/fixinc/fixinc.svr42
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixinc/fixinc.svr4 b/gcc/fixinc/fixinc.svr4
index dedf4eb7e44..30aa6796549 100755
--- a/gcc/fixinc/fixinc.svr4
+++ b/gcc/fixinc/fixinc.svr4
@@ -1572,7 +1572,7 @@ fi
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