From aec342e916690fbe3fedf6c010771c6543843933 Mon Sep 17 00:00:00 2001 From: Gabriel Gerlero Date: Tue, 25 Oct 2022 15:14:59 -0300 Subject: [PATCH] Do not add internal dependencies to PATH --- Contents/Resources/etc/openfoam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contents/Resources/etc/openfoam b/Contents/Resources/etc/openfoam index 51abc6b..a828fb5 100755 --- a/Contents/Resources/etc/openfoam +++ b/Contents/Resources/etc/openfoam @@ -20,4 +20,4 @@ VOLUME=$("$APP_BUNDLE/Contents/Resources/volume" -show-prefix) exec {fd}<"$VOLUME" echo "Activating the OpenFOAM environment..." -PATH="$VOLUME/usr/bin:$PATH" exec bash "$VOLUME/etc/openfoam" "$@" +PATH="$VOLUME/usr/opt/bash/bin:${PATH+:$PATH}" exec bash "$VOLUME/etc/openfoam" "$@"