Add the possibility to inject variables BEFORE WM_PROJECT_DIR is set
--HG-- branch : bgschaid/minorAdditionsBranch
This commit is contained in:
parent
6aebefdeae
commit
6036337395
3 changed files with 14 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -85,6 +85,9 @@ etc/bashrc
|
||||||
etc/settings.csh
|
etc/settings.csh
|
||||||
etc/settings.sh
|
etc/settings.sh
|
||||||
|
|
||||||
|
# make sure that this settings file is not used
|
||||||
|
etc/bashrc.preset
|
||||||
|
|
||||||
# The following files are blacklisted because of a DMCA complaint by ANSYS.
|
# The following files are blacklisted because of a DMCA complaint by ANSYS.
|
||||||
src/lduSolvers/tools/PriorityArray.C
|
src/lduSolvers/tools/PriorityArray.C
|
||||||
src/lduSolvers/tools/PriorityArray.H
|
src/lduSolvers/tools/PriorityArray.H
|
||||||
|
|
|
@ -77,6 +77,9 @@ PlyParser_FoamFileParser_parsetab.py
|
||||||
# .gitignore
|
# .gitignore
|
||||||
.timeStamp
|
.timeStamp
|
||||||
|
|
||||||
|
# make sure that this settings file is not used
|
||||||
|
etc/bashrc.preset
|
||||||
|
|
||||||
#Test-Harness generated stuff
|
#Test-Harness generated stuff
|
||||||
testHarness/OpenFOAM/1.6-ext/runDir/tutorialsTestSuites_oneTimeStep
|
testHarness/OpenFOAM/1.6-ext/runDir/tutorialsTestSuites_oneTimeStep
|
||||||
testHarness/OpenFOAM/1.6-ext/runDir/Testing
|
testHarness/OpenFOAM/1.6-ext/runDir/Testing
|
||||||
|
|
|
@ -32,6 +32,14 @@
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
prefSettingFile=$0.preset
|
||||||
|
if [ -f $prefSettingFile ]
|
||||||
|
then
|
||||||
|
# echo "Found presettings $prefSettingFile"
|
||||||
|
. $prefSettingFile
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
export WM_PROJECT=OpenFOAM
|
export WM_PROJECT=OpenFOAM
|
||||||
export WM_PROJECT_VERSION=1.6-ext
|
export WM_PROJECT_VERSION=1.6-ext
|
||||||
|
|
||||||
|
|
Reference in a new issue