From 8c23f941df40db93418fd003ddcabebe443b021f Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 16 May 2024 12:17:01 -0400 Subject: [PATCH] fix(neovim) closes #6161 --- projects/neovim.io/package.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/projects/neovim.io/package.yml b/projects/neovim.io/package.yml index 31d2bdb5..11cfb227 100644 --- a/projects/neovim.io/package.yml +++ b/projects/neovim.io/package.yml @@ -20,12 +20,13 @@ build: info-zip.org/unzip: '*' script: - run: | - sed -i.bak \ - -e "1i\ - set(RT_LIBDIR \"$RT_LIBDIR\")" \ - -e 's/\(build busted [0-9]\+\.[0-9]\+\.[0-9]\+\)/\1 RT_LIBDIR=${RT_LIBDIR}/' \ - BuildLuarocks.cmake - rm BuildLuarocks.cmake.bak + if test -f BuildLuarocks.cmake; then + sed -i.bak \ + -e "1i\ + set(RT_LIBDIR \"$RT_LIBDIR\")" \ + -e 's/\(build busted [0-9]\+\.[0-9]\+\.[0-9]\+\)/\1 RT_LIBDIR=${RT_LIBDIR}/' \ + BuildLuarocks.cmake + fi working-directory: cmake.deps/cmake if: linux - make