From f80012000b691ba78b79b3265e30bdb43c5534ad Mon Sep 17 00:00:00 2001 From: mattijs <mattijs@hunt.opencfd.co.uk> Date: Fri, 27 Feb 2009 10:43:18 +0000 Subject: [PATCH] removed checking since overwrites files --- wmake/wmakeLnInclude | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/wmake/wmakeLnInclude b/wmake/wmakeLnInclude index bce2cfbb51d..1ed1671e7a3 100755 --- a/wmake/wmakeLnInclude +++ b/wmake/wmakeLnInclude @@ -145,16 +145,6 @@ find -L . -type l -exec rm \{\} \; find .. $findOpt \ \( -name lnInclude -o -name Make -o -name config -o -name noLink \) -prune \ -o \( -name '*.[CHh]' -o -name '*.[ch]xx' -o -name '*.[ch]pp' -o -name '*.type' \) \ - -a ! -name ".#*" \ - -print | \ - while read src - do - link=$(readlink ${src##*/}) - if [ "$link" != "$src" ] - then - rm $link 2>/dev/null - ln $lnOpt $src . - fi - done + -exec ln $lnOpt {} . \; #------------------------------------------------------------------------------ -- GitLab