aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Kehoe <brendan@gcc.gnu.org>1993-02-09 14:05:03 -0500
committerBrendan Kehoe <brendan@gcc.gnu.org>1993-02-09 14:05:03 -0500
commit638fa106c8103421e7011a24943dc3c8ffbc5f6b (patch)
tree09a3b02225ea1af35e4e09b6777dcb26f7bb216c
parent5105ecec4cf8d713c17e9c4c9aad48084760ec29 (diff)
downloadgcc-638fa106c8103421e7011a24943dc3c8ffbc5f6b.zip
gcc-638fa106c8103421e7011a24943dc3c8ffbc5f6b.tar.gz
gcc-638fa106c8103421e7011a24943dc3c8ffbc5f6b.tar.bz2
fixincludes: Fix logic about when to duplicate entries under the `FILE' link.
* fixincludes: Fix logic about when to duplicate entries under the `FILE' link. From-SVN: r3448
-rwxr-xr-xgcc/fixincludes6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 6898fc3..a0413b4 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -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