diff --git a/Allwmake.mingw b/Allwmake.mingw index 99d83297c..97e1b5b79 100644 --- a/Allwmake.mingw +++ b/Allwmake.mingw @@ -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/libwinpthread-1.dll $FOAM_APPBIN echo "Creating release package ... (see `pwd`/createWindowsBinaryPackage.log)" -./bin/createWindowsBinaryPackage > createWindowsBinaryPackage.log 1>&1 +./bin/createWindowsBinaryPackage > createWindowsBinaryPackage.log 2>&1 echo echo "All done!" diff --git a/bin/createWindowsBinaryPackage b/bin/createWindowsBinaryPackage index 477045629..99142851f 100755 --- a/bin/createWindowsBinaryPackage +++ b/bin/createWindowsBinaryPackage @@ -38,9 +38,9 @@ cd ${0%/*} || exit 1 # run from this directory echo echo "=========== FOAM-EXTEND WINDOWS STAND-ALONE PACKAGE CREATION SCRIPT ===========" -if [ "$PWD" != "$WM_PROJECT_DIR" ] +if [ "$PWD" != "$WM_PROJECT_DIR/bin" ] 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 " Check the OpenFOAM entries in your dot-files and source them." exit 1