opnsense-ports/devel/pycdc/files/patch-tests_decompyle__test.sh
Franco Fichtner fa89bd5e52 */*: sync with upstream
Taken from: FreeBSD
2024-08-12 10:12:12 +02:00

11 lines
286 B
Bash

--- tests/decompyle_test.sh.orig 2024-08-10 12:46:23 UTC
+++ tests/decompyle_test.sh
@@ -6,7 +6,7 @@ if [[ -z "$PYTHON_EXE" ]]; then
outdir="$2"
if [[ -z "$PYTHON_EXE" ]]; then
- PYTHON_EXE="$(which python3)"
+ PYTHON_EXE="%%PYTHON_CMD%%"
fi
if [[ -z "$testname" ]]; then