Skip to content

Commit 26c9dc3

Browse files
committed
Fix some text replacements
1 parent 7dd6e79 commit 26c9dc3

File tree

3 files changed

+3
-6
lines changed
  • partitioned-heat-conduction/neumann-fenics
  • perpendicular-flap

3 files changed

+3
-6
lines changed

partitioned-heat-conduction/neumann-fenics/run.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ set -e -u
44
. ../../tools/log.sh
55
exec > >(tee --append "$LOGFILE") 2>&1
66

7-
if [ $# -eq 0 ]
7+
if [ -z "${PRECICE_TUTORIALS_NO_VENV:-}" ]
88
then
9-
echo "Installing dependencies in a Python virtual environment"
109
python3 -m venv --system-site-packages .venv
1110
. .venv/bin/activate
1211
pip install -r ../solver-fenics/requirements.txt

perpendicular-flap/fluid-su2/run.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ set -e -u
44
. ../../tools/log.sh
55
exec > >(tee --append "$LOGFILE") 2>&1
66

7-
if [ $# -eq 0 ]
7+
if [ -z "${PRECICE_TUTORIALS_NO_VENV:-}" ]
88
then
9-
echo "Installing dependencies in a Python virtual environment"
109
python3 -m venv --system-site-packages .venv
1110
. .venv/bin/activate
1211
pip install -r requirements.txt && pip freeze > pip-installed-packages.log

perpendicular-flap/solid-fenics/run.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ set -e -u
44
. ../../tools/log.sh
55
exec > >(tee --append "$LOGFILE") 2>&1
66

7-
if [ $# -eq 0 ]
7+
if [ -z "${PRECICE_TUTORIALS_NO_VENV:-}" ]
88
then
9-
echo "Installing dependencies in a Python virtual environment"
109
python3 -m venv --system-site-packages .venv
1110
. .venv/bin/activate
1211
pip install -r requirements.txt && pip freeze > pip-installed-packages.log

0 commit comments

Comments
 (0)