]> gcc.gnu.org Git - gcc.git/commitdiff
fixincludes: Fix logic about when to duplicate entries under the `FILE' link.
authorBrendan Kehoe <brendan@gcc.gnu.org>
Tue, 9 Feb 1993 19:05:03 +0000 (14:05 -0500)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Tue, 9 Feb 1993 19:05:03 +0000 (14:05 -0500)
        * fixincludes: Fix logic about when to duplicate entries under the
        `FILE' link.

From-SVN: r3448

gcc/fixincludes

index 6898fc3cc63adae2ea71325e5a3bc0b2bb50c7aa..a0413b4ff7cf3d3cb78b793b6479519b585b7631 100755 (executable)
@@ -175,9 +175,7 @@ if $LINKS; then
          # root area.
          for file2 in $files; do
            case $file2 in
-             $file/.*)
-               ;;
-             *)
+             $file/./*)
                dupdir=${LIB}/root$x/`echo $file2 | sed -n "s|^${file}/||p"`
                echo "Duplicating ${file}'s ${dupdir}"
                if [ -d ${dupdir} ]
@@ -186,6 +184,8 @@ if $LINKS; then
                  mkdir ${dupdir}
                fi
                ;;
+             *)
+               ;;
            esac
           done
          rm -fr ${LIB}/$file > /dev/null 2>&1
This page took 0.065169 seconds and 5 git commands to generate.