foamUpdate scripts - avoid destroying soft-links or trashing existing {RAS,LES}Properties

This commit is contained in:
Mark Olesen
2008-08-08 23:15:28 +02:00
parent 2e6f99627b
commit 3bc28f6cb0
3 changed files with 20 additions and 14 deletions

View File

@ -16,7 +16,7 @@ FoamFile
// General m4 macros
changecom(//)changequote([,])
define(calc, [esyscmd(perl -e 'use Math::Trig; use POSIX; print ($1)')])
define(calc, [esyscmd(perl -e 'use Math::Trig; use POSIX; printf ($1)')])
define(VCOUNT, 0)
define(vlabel, [[// ]Vertex $1 = VCOUNT define($1, VCOUNT)define([VCOUNT], incr(VCOUNT))])