From e436a17893e882c47990b4f8f298b6c3da2c4918 Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Wed, 14 Jan 2026 13:20:47 -0500 Subject: [PATCH] format --- tests/test-install-logic.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-install-logic.sh b/tests/test-install-logic.sh index 76a9bf6..d926a68 100755 --- a/tests/test-install-logic.sh +++ b/tests/test-install-logic.sh @@ -24,8 +24,8 @@ cd "$SANDBOX" || exit 2 # Ensure source binary has the placeholder for sed to work on # If the local file already has a real version, inject the placeholder if ! grep -q "@@DEV_VERSION@@" git-remote-gcrypt; then - sed -i.bak 's/^VERSION=.*/VERSION="@@DEV_VERSION@@"/' git-remote-gcrypt 2>/dev/null || \ - sed 's/^VERSION=.*/VERSION="@@DEV_VERSION@@"/' git-remote-gcrypt > git-remote-gcrypt.tmp && mv git-remote-gcrypt.tmp git-remote-gcrypt + sed -i.bak 's/^VERSION=.*/VERSION="@@DEV_VERSION@@"/' git-remote-gcrypt 2>/dev/null \ + || sed 's/^VERSION=.*/VERSION="@@DEV_VERSION@@"/' git-remote-gcrypt >git-remote-gcrypt.tmp && mv git-remote-gcrypt.tmp git-remote-gcrypt fi chmod +x git-remote-gcrypt -- 2.52.0