minor changes to Allwmake script(s)

* use $WM_THIRD_PARTY_DIR variable in top-level Allwmake
  * test new shell idiom for Allwmake files:
        # run from this directory only
        cd ${0%/*} || exit 1
    this might be especially useful when building optional components
This commit is contained in:
Mark Olesen
2008-06-15 17:57:55 +02:00
parent 099117dd2a
commit 3bbd01ebfb
2 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,9 @@
# Build optional components (eg, may depend on third-party libraries)
set -x
# run from this directory only
cd ${0%/*} || exit 1
# build libccmio if required
if [ ! -e $FOAM_LIBBIN/libccmio.so ]
then