Be pickier about only running certain scripts from the cwd

This commit is contained in:
Mark Olesen
2008-08-09 18:50:27 +02:00
parent 679fd493ca
commit 7be206a5f3
11 changed files with 34 additions and 14 deletions

View File

@ -1,5 +1,8 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
( cd solvers && wmake all )
( cd solvers && wmake all )
( cd utilities && wmake all )
# ----------------------------------------------------------------- end-of-file

View File

@ -1,9 +1,11 @@
#!/bin/sh
#
# Build optional components (eg, may depend on third-party libraries)
# -----------------------------------------------------------------------------
cd ${0%/*} || exit 1 # run from this directory
set -x
# run from this directory only
cd ${0%/*} || exit 1
# build libccmio and create lnInclude directory
(

View File

@ -1,4 +1,5 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
rm -rf PV3FoamReader/Make

View File

@ -1,4 +1,5 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ]