Skip to content

Commit

Permalink
AllwmakeMinGWScotch: Fixed issues loading the correct shell environme…
Browse files Browse the repository at this point in the history
…nt. Not sure how it worked in 4.x...
  • Loading branch information
wyldckat committed Aug 28, 2020
1 parent 5458fec commit c619386
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AllwmakeMinGWScotch
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@ fi

if [ -z "$SCOTCH_VERSION" ]; then
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config/scotch.sh`
if settings=$($WM_PROJECT_DIR/bin/foamEtcFile config.sh/scotch)
then
. $settings
else
echo
echo "Error: no config/scotch.sh settings"
echo
exit 1
fi
fi

Expand Down

0 comments on commit c619386

Please sign in to comment.