Polished compile and package scripts
This commit is contained in:
parent
9a2abe5b62
commit
8dc48f6c57
2 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ cp -p $MINGW_HOME/bin/libgcc_s_seh-1.dll $FOAM_APPBIN
|
||||||
cp -p $MINGW_HOME/bin/libstdc++-6.dll $FOAM_APPBIN
|
cp -p $MINGW_HOME/bin/libstdc++-6.dll $FOAM_APPBIN
|
||||||
cp -p $MINGW_HOME/bin/libwinpthread-1.dll $FOAM_APPBIN
|
cp -p $MINGW_HOME/bin/libwinpthread-1.dll $FOAM_APPBIN
|
||||||
echo "Creating release package ... (see `pwd`/createWindowsBinaryPackage.log)"
|
echo "Creating release package ... (see `pwd`/createWindowsBinaryPackage.log)"
|
||||||
./bin/createWindowsBinaryPackage > createWindowsBinaryPackage.log 1>&1
|
./bin/createWindowsBinaryPackage > createWindowsBinaryPackage.log 2>&1
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "All done!"
|
echo "All done!"
|
||||||
|
|
|
@ -38,9 +38,9 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||||
echo
|
echo
|
||||||
echo "=========== FOAM-EXTEND WINDOWS STAND-ALONE PACKAGE CREATION SCRIPT ==========="
|
echo "=========== FOAM-EXTEND WINDOWS STAND-ALONE PACKAGE CREATION SCRIPT ==========="
|
||||||
|
|
||||||
if [ "$PWD" != "$WM_PROJECT_DIR" ]
|
if [ "$PWD" != "$WM_PROJECT_DIR/bin" ]
|
||||||
then
|
then
|
||||||
echo "Error: Current directory is not \$WM_PROJECT_DIR"
|
echo "Error: Current directory is not \$WM_PROJECT_DIR/bin"
|
||||||
echo " The environment variable are not consistent with the installation."
|
echo " The environment variable are not consistent with the installation."
|
||||||
echo " Check the OpenFOAM entries in your dot-files and source them."
|
echo " Check the OpenFOAM entries in your dot-files and source them."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Reference in a new issue