From 9dbffa2d190191638ab124f93d9f860b7a2d3232 Mon Sep 17 00:00:00 2001 From: Tara Menon Date: Sat, 13 Jun 2026 19:05:52 +0530 Subject: [PATCH] fix(install): redirect git clone and cargo build output to stderr --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 9ec7ff0..1131dbc 100755 --- a/install.sh +++ b/install.sh @@ -310,9 +310,9 @@ ensure_gyandoot_binary() { clone_dir="$(mktemp -d 2>/dev/null || echo "/tmp/gyandoot-build-$$")" if command -v git &>/dev/null; then - git clone --depth=1 https://git.gyannetra.in/gnpl_admin/gyandoot-v2.git "$clone_dir" 2>&1 | tail -5 + git clone --depth=1 https://git.gyannetra.in/gnpl_admin/gyandoot-v2.git "$clone_dir" 2>&1 | tail -5 >&2 cd "$clone_dir" - cargo build --release 2>&1 | tail -5 + cargo build --release 2>&1 | tail -5 >&2 if [ -f "target/release/gyandoot" ]; then ok "Built from source" echo "$clone_dir/target/release/gyandoot"