From: Shane Jaroch Date: Thu, 15 Jan 2026 03:09:38 +0000 (-0500) Subject: lint/bug X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=9b85a00a024702e3f125868d7f9aaa282f9f2cc1;p=gamesguru%2Fgit-remote-gcrypt.git lint/bug --- diff --git a/tests/test-install-logic.sh b/tests/test-install-logic.sh index d926a68..1b843f8 100755 --- a/tests/test-install-logic.sh +++ b/tests/test-install-logic.sh @@ -25,7 +25,7 @@ cd "$SANDBOX" || exit 2 # 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 '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