fix(installer): use full path to verify_plugins.lua (#2755)

This commit is contained in:
kylo252 2022-06-24 12:15:15 +02:00 committed by GitHub
parent 8989984b78
commit e1846580c8
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,10 @@
#!/usr/bin/env bash
set -e
BASEDIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
BASEDIR="$(dirname -- "$(dirname -- "$BASEDIR")")"
LUNARVIM_BASE_DIR="${LUNARVIM_BASE_DIR:-"$BASEDIR"}"
lvim --headless \
-c "luafile ./utils/ci/verify_plugins.lua"
-c "luafile ${LUNARVIM_BASE_DIR}/utils/ci/verify_plugins.lua"