Fixed an error in the default specifation of python executable
This commit is contained in:
parent
bf1a6de253
commit
0451406572
1 changed files with 4 additions and 4 deletions
|
|
@ -23,7 +23,10 @@ if test -z $PYTHONHOME ; then
|
|||
else
|
||||
PYTHON_CMDA=$PYTHONHOME/bin/python
|
||||
fi
|
||||
PYTHON_CMD=${PYTHON_CMDA:=$1}
|
||||
FIRSTARG=$1
|
||||
PYTHON_CMD=${FIRSTARG:=PYTHON_CMDA}
|
||||
|
||||
#echo $PYTHON_CMD
|
||||
|
||||
$PYTHON_CMD ../../Cantera/python/examples/flame1.py > flame1.out
|
||||
retnStat=$?
|
||||
|
|
@ -56,9 +59,6 @@ machType=`../../bin/get_arch`
|
|||
if test x"$machType" = "xlinux" ; then
|
||||
/bin/cp flame1_blessed_linux.csv flame1_blessed_tmp.csv
|
||||
fi
|
||||
if test x"$machType" = "xcygwin" ; then
|
||||
/bin/cp flame1_blessed_linux.csv flame1_blessed_tmp.csv
|
||||
fi
|
||||
#
|
||||
$CANTERA_BIN/csvdiff flame1.csv flame1_blessed_tmp.csv > flame1_test.out
|
||||
retnStat=$?
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue