Update 00-global_var.sh

This commit is contained in:
Alexandre
2024-04-24 13:37:42 +02:00
committed by GitHub
parent fc5af53b36
commit 2d0e85cde0

View File

@@ -66,7 +66,7 @@ for KEYS in "${arr[@]}"; do
# shellcheck disable=SC2163 # shellcheck disable=SC2163
export "$line" export "$line"
# export to python # export to python
if command -v "python3" &>/dev/null && ; then if command -v "python3" &>/dev/null ; then
[ ! -f /env.py ] && echo "import os" > /env.py [ ! -f /env.py ] && echo "import os" > /env.py
# Escape \ # Escape \
VALUEPY="${VALUEPY//\\/\\\\}" VALUEPY="${VALUEPY//\\/\\\\}"