diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-10-02 17:08:07 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-10-03 13:05:43 +0200 |
commit | 2fd6730d4f9c056a98cadfb8c6503e718bd01a75 (patch) | |
tree | b289c293fb1bdb26806db5413a77bacd6cd04506 /utils/lib_sxng_test.sh | |
parent | e7a4d7d7c3d688b69737f2b1ecd23571f5e3a0b9 (diff) | |
download | searxng-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-x | utils/lib_sxng_test.sh | 7 |
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 } |