diff options
author | kylo252 <[email protected]> | 2022-06-24 12:15:15 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-06-24 12:15:15 +0200 |
commit | e1846580c8b453104bdf071cc2a11bb1d46bb3b1 (patch) | |
tree | 82259ee4568f17f1c1bfa30eae4612c27d674511 | |
parent | 8989984b781367b2744c4857e73d8943311db241 (diff) |
fix(installer): use full path to verify_plugins.lua (#2755)
-rw-r--r-- | utils/ci/verify_plugins.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/utils/ci/verify_plugins.sh b/utils/ci/verify_plugins.sh index 7d0d764b..48ed12fe 100644 --- a/utils/ci/verify_plugins.sh +++ b/utils/ci/verify_plugins.sh @@ -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" |