lint/bug
authorShane Jaroch <chown_tee@proton.me>
Thu, 15 Jan 2026 03:09:38 +0000 (22:09 -0500)
committerShane Jaroch <chown_tee@proton.me>
Thu, 15 Jan 2026 03:09:38 +0000 (22:09 -0500)
tests/test-install-logic.sh

index d926a68a50102a86f88595b3936d92859fa47a33..1b843f85771c94025cb5364189804898d7772997 100755 (executable)
@@ -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