summaryrefslogtreecommitdiff
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
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
-rwxr-xr-xgcc/fixinc/fixinc.svr42
-rw-r--r--gcc/fixinc/fixinc.winnt2
-rwxr-xr-xgcc/fixinc/fixincl.sh2
-rwxr-xr-xgcc/fixinc/inclhack.sh2
-rw-r--r--gcc/fixinc/inclhack.tpl2
5 files changed, 5 insertions, 5 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
diff --git a/gcc/fixinc/fixinc.winnt b/gcc/fixinc/fixinc.winnt
index cb7e72f3bf5..2e5750c5138 100644
--- a/gcc/fixinc/fixinc.winnt
+++ b/gcc/fixinc/fixinc.winnt
@@ -224,7 +224,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 > NUL 2>&1
done
diff --git a/gcc/fixinc/fixincl.sh b/gcc/fixinc/fixincl.sh
index f6517187ab5..a7661ba19f7 100755
--- a/gcc/fixinc/fixincl.sh
+++ b/gcc/fixinc/fixincl.sh
@@ -393,7 +393,7 @@ find . -name DONE -exec rm -f '{}' ';'
echo 'Removing unneeded directories:'
cd $LIB
-all_dirs=`find . -type d -print | sort -r`
+all_dirs=`find . -type d \! -name '.' -print | sort -r`
for file in $all_dirs; do
rmdir $LIB/$file > /dev/null 2>&1
done
diff --git a/gcc/fixinc/inclhack.sh b/gcc/fixinc/inclhack.sh
index a44114d5fca..66db082506c 100755
--- a/gcc/fixinc/inclhack.sh
+++ b/gcc/fixinc/inclhack.sh
@@ -3102,7 +3102,7 @@ find . -name DONE -exec rm -f '{}' ';'
echo 'Removing unneeded directories:'
cd $LIB
-all_dirs=`find . -type d -print | sort -r`
+all_dirs=`find . -type d \! -name '.' -print | sort -r`
for file in $all_dirs; do
rmdir $LIB/$file > /dev/null 2>&1
done
diff --git a/gcc/fixinc/inclhack.tpl b/gcc/fixinc/inclhack.tpl
index f5153bf0892..44f37981864 100644
--- a/gcc/fixinc/inclhack.tpl
+++ b/gcc/fixinc/inclhack.tpl
@@ -403,7 +403,7 @@ find . -name DONE -exec rm -f '{}' ';'
echo 'Removing unneeded directories:'
cd $LIB
-all_dirs=`find . -type d -print | sort -r`
+all_dirs=`find . -type d \! -name '.' -print | sort -r`
for file in $all_dirs; do
rmdir $LIB/$file > /dev/null 2>&1
done