aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/fixinc.svr4
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1999-06-08 21:20:44 -0600
committerJeff Law <law@gcc.gnu.org>1999-06-08 21:20:44 -0600
commitbabb4c65be476a56f6755d76b52d5c471ccd7343 (patch)
treee32fbd0a3a9fea4c43d108cef0937ef6da7f7a15 /gcc/fixinc/fixinc.svr4
parenta718fe318622ce173e9e3e26b610b3dc0cd25b27 (diff)
downloadgcc-babb4c65be476a56f6755d76b52d5c471ccd7343.zip
gcc-babb4c65be476a56f6755d76b52d5c471ccd7343.tar.gz
gcc-babb4c65be476a56f6755d76b52d5c471ccd7343.tar.bz2
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: r27440
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 dedf4eb..30aa679 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