diff --git a/curl.sh b/curl.sh index f06a9e203..79d07ae7d 100755 --- a/curl.sh +++ b/curl.sh @@ -374,7 +374,7 @@ _VER="$1" fi patch="${_NAM}${_PATCHSUFFIX}.patch" - if [ -f "${patch}" ]; then + if [ -f "../${patch}" ]; then hash="$(git -C .. log -1 '--pretty=format:%h' -- "${patch}")" if [ -n "${hash}" ]; then patchstamp="https://github.com/curl/curl-for-win/blob/${hash}/${patch}"