diff --git a/curl.sh b/curl.sh index 79d07ae7d..277179dbc 100755 --- a/curl.sh +++ b/curl.sh @@ -433,7 +433,7 @@ _VER="$1" # Extra checks (do this before code signing) if [[ "${_CONFIG}" != *'nocurltool'* ]] && \ - strings "${bin}" | grep -a -F 'curl-for-win'; then + strings "${bin}" | grep -a -F 'curl-for-win' | grep -v -a -E '/blob/[a-f0-9]+/curl(\.[a-z]+)?\.patch$'; then echo "! Error: Our project root path is leaking into the binary: '${bin}'" exit 1 fi