From 4b5f2263abfb20a5456c1cb6f5df7414d498cc74 Mon Sep 17 00:00:00 2001 From: pika Date: Wed, 21 May 2025 19:33:33 +0200 Subject: [PATCH] testing.. --- neovim.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/neovim.sh b/neovim.sh index 3bf08ad..0dbe540 100644 --- a/neovim.sh +++ b/neovim.sh @@ -33,6 +33,7 @@ rm "$import" source # echo_warning "cleaned $import" + source-script "https://git.k4li.de/scripts/beddu/raw/branch/main/dist/beddu.sh" } @@ -75,11 +76,14 @@ if command_exists git; then spin yellow "Cloning $PACKAGE sources at $cloneDir/neovim.." - if run git clone --depth=1 https://github.com/neovim/neovim.git; then - cd neovim || echo_error "Cannot navigate into neovim" + if run 'git clone --depth=1 https://github.com/neovim/neovim.git'; then + cd neovim || throw "Cannot navigate into neovim" + check "Cloned sources" + line + pen ${output:-} else - echo_error "Cannot clone the repo.." + throw "Cannot clone the repo.." fi else echo_error "Git was required, but is missing.. exiting now" @@ -91,9 +95,9 @@ makeInstall() { # echo_pkg build "Compiling neovim from source" spin "Compiling neovim from source" - if run make CMAKE_BUILD_TYPE=RelWithDebInfo; then + if run "make CMAKE_BUILD_TYPE=RelWithDebInfo"; then echo_pkg install - run $_sudo make install + $_sudo make install else echo_error "Failure while building!" exit 1