]> gcc.gnu.org Git - gcc.git/commitdiff
fixincludes: Avoid removing '.'.
authorJeff Law <law@gcc.gnu.org>
Wed, 9 Jun 1999 03:20:36 +0000 (21:20 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 9 Jun 1999 03:20:36 +0000 (21:20 -0600)

        * 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

gcc/fixincludes

index c9a65218555559a06d7e26c55a22a58a76a70013..b559d033c6197d09c251762996aaa0f09ba2f89b 100755 (executable)
@@ -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
This page took 0.062683 seconds and 5 git commands to generate.