OSDN Git Service

* fixincludes: Fix logic about when to duplicate entries under the
authorbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Feb 1993 19:05:03 +0000 (19:05 +0000)
committerbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Feb 1993 19:05:03 +0000 (19:05 +0000)
        `FILE' link.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3448 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fixincludes

index 6898fc3..a0413b4 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