diff options
author | June McEnroe <june@causal.agency> | 2021-01-20 13:33:37 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-02-13 18:24:04 -0500 |
commit | d993e4be6731b1a806e2c7588334a3f485a5fd31 (patch) | |
tree | 3d6276d4a791560a48d9481c31b9e7eba9fcc2a6 /tests/setup.sh | |
parent | Merge remote-tracking branch 'ch/git-2-35' (diff) | |
download | cgit-pink-d993e4be6731b1a806e2c7588334a3f485a5fd31.tar.gz cgit-pink-d993e4be6731b1a806e2c7588334a3f485a5fd31.zip |
Remove Lua support
Lua support is unused and the dlsym fwrite/write hacks horrify me. Clean it up.
Diffstat (limited to '')
-rwxr-xr-x | tests/setup.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/setup.sh b/tests/setup.sh index 8db810f..31e7d5b 100755 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -60,12 +60,6 @@ fi FILTER_DIRECTORY=$(cd ../filters && pwd) -if cgit --version | grep -F -q "[+] Lua scripting"; then - export CGIT_HAS_LUA=1 -else - export CGIT_HAS_LUA=0 -fi - mkrepo() { name=$1 count=$2 @@ -144,19 +138,6 @@ repo.email-filter=exec:$FILTER_DIRECTORY/dump.sh repo.source-filter=exec:$FILTER_DIRECTORY/dump.sh repo.readme=master:a+b EOF - - if [ $CGIT_HAS_LUA -eq 1 ]; then - cat >>cgitrc <<EOF -repo.url=filter-lua -repo.path=$PWD/repos/filter/.git -repo.desc=filtered repo -repo.about-filter=lua:$FILTER_DIRECTORY/dump.lua -repo.commit-filter=lua:$FILTER_DIRECTORY/dump.lua -repo.email-filter=lua:$FILTER_DIRECTORY/dump.lua -repo.source-filter=lua:$FILTER_DIRECTORY/dump.lua -repo.readme=master:a+b -EOF - fi } cgit_query() |