Skip to content
Snippets Groups Projects
Commit 9a2c1adb authored by Mark Olesen's avatar Mark Olesen
Browse files

wmakeLnInclude : also ignore 'noLink' directories

 - useful for avoiding links on older versions, or for 'hiding' contents
parent d4fcd2d9
Branches
Tags
No related merge requests found
...@@ -140,9 +140,10 @@ find -L . -type l -exec rm \{\} \; ...@@ -140,9 +140,10 @@ find -L . -type l -exec rm \{\} \;
# #
# create links, avoid recreating links unless necessary # create links, avoid recreating links unless necessary
# things placed in the 'noLink' directory are skipped
# #
find .. $findOpt \ find .. $findOpt \
\( -name lnInclude -o -name Make -o -name config \) -prune \ \( -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' \) \ -o \( -name '*.[CHh]' -o -name '*.[ch]xx' -o -name '*.[ch]pp' -o -name '*.type' \) \
-a ! -name ".#*" \ -a ! -name ".#*" \
-print | \ -print | \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment