Skip to content

Commit 387a1ae

Browse files
committed
Fix check (inverse logic)
1 parent 6638074 commit 387a1ae

File tree

39 files changed

+39
-39
lines changed

39 files changed

+39
-39
lines changed

channel-transport-reaction/chemical-fenics/run.sh

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

7-
if [ -v PRECICE_TUTORIALS_NO_VENV ]
7+
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
88
then
99
python3 -m venv --system-site-package .venv
1010
. .venv/bin/activate

channel-transport-reaction/fluid-fenics/run.sh

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

7-
if [ -v PRECICE_TUTORIALS_NO_VENV ]
7+
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
88
then
99
python3 -m venv --system-site-package .venv
1010
. .venv/bin/activate

channel-transport/fluid-nutils/run.sh

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

7-
if [ -v PRECICE_TUTORIALS_NO_VENV ]
7+
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
88
then
99
python3 -m venv .venv
1010
. .venv/bin/activate

channel-transport/transport-nutils/run.sh

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

7-
if [ -v PRECICE_TUTORIALS_NO_VENV ]
7+
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
88
then
99
python3 -m venv .venv
1010
. .venv/bin/activate

elastic-tube-1d/fluid-python/run.sh

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

7-
if [ -v PRECICE_TUTORIALS_NO_VENV ]
7+
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
88
then
99
python3 -m venv .venv
1010
. .venv/bin/activate

elastic-tube-1d/solid-python/run.sh

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

7-
if [ -v PRECICE_TUTORIALS_NO_VENV ]
7+
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
88
then
99
python3 -m venv .venv
1010
. .venv/bin/activate

elastic-tube-3d/solid-fenics/run.sh

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

7-
if [ -v PRECICE_TUTORIALS_NO_VENV ]
7+
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
88
then
99
python3 -m venv --system-site-package .venv
1010
. .venv/bin/activate

flow-around-controlled-moving-cylinder/controller-fmi/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [ ! -f PIDcontroller.fmu ]; then
1515
cd ../../
1616
fi
1717

18-
if [ -v PRECICE_TUTORIALS_NO_VENV ]
18+
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
1919
then
2020
python3 -m venv .venv
2121
. .venv/bin/activate

flow-around-controlled-moving-cylinder/solid-python/run.sh

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

7-
if [ -v PRECICE_TUTORIALS_NO_VENV ]
7+
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
88
then
99
python3 -m venv .venv
1010
. .venv/bin/activate

flow-over-heated-plate/fluid-su2/run.sh

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

7-
if [ -v PRECICE_TUTORIALS_NO_VENV ]
7+
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
88
then
99
python3 -m venv --system-site-package .venv
1010
. .venv/bin/activate

0 commit comments

Comments
 (0)