From 6fa3fe46027a3dbd1a7719db5a8d9706a80b3a08 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 4 Jun 2024 17:22:46 +0200 Subject: [PATCH] fixup --- curl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curl.sh b/curl.sh index b7979c20e..f06a9e203 100755 --- a/curl.sh +++ b/curl.sh @@ -375,7 +375,7 @@ _VER="$1" patch="${_NAM}${_PATCHSUFFIX}.patch" if [ -f "${patch}" ]; then - hash="$(git --git-dir ../.git log -1 '--pretty=format:%h' "../${patch}")" + hash="$(git -C .. log -1 '--pretty=format:%h' -- "${patch}")" if [ -n "${hash}" ]; then patchstamp="https://github.com/curl/curl-for-win/blob/${hash}/${patch}" # Appearing as: "security patched: https://github.com/curl/curl-for-win/blob/95a0e6df/curl.test.patch"