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