summaryrefslogtreecommitdiff
path: root/utils/lib_sxng_test.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-10-02 17:08:07 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-10-03 13:05:43 +0200
commit2fd6730d4f9c056a98cadfb8c6503e718bd01a75 (patch)
treeb289c293fb1bdb26806db5413a77bacd6cd04506 /utils/lib_sxng_test.sh
parente7a4d7d7c3d688b69737f2b1ecd23571f5e3a0b9 (diff)
downloadsearxng-2fd6730d4f9c056a98cadfb8c6503e718bd01a75.tar.gz
searxng-2fd6730d4f9c056a98cadfb8c6503e718bd01a75.zip
[mod] py3.8 EOL / upgrade to actions/setup-python@v5
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lib_sxng_test.sh')
-rwxr-xr-xutils/lib_sxng_test.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/utils/lib_sxng_test.sh b/utils/lib_sxng_test.sh
index 5e4c94f36..9ac71aeeb 100755
--- a/utils/lib_sxng_test.sh
+++ b/utils/lib_sxng_test.sh
@@ -93,13 +93,8 @@ test.robot() {
test.rst() {
build_msg TEST "[reST markup] ${RST_FILES[*]}"
- local rst2html=rst2html
- if [ "3.8" == "$(python -c 'import sys; print(".".join([str(x) for x in sys.version_info[:2]]))')" ]; then
- rst2html=rst2html.py
- fi
-
for rst in "${RST_FILES[@]}"; do
- pyenv.cmd "${rst2html}" --halt error "$rst" > /dev/null || die 42 "fix issue in $rst"
+ pyenv.cmd rst2html --halt error "$rst" > /dev/null || die 42 "fix issue in $rst"
done
}