diff options
-rwxr-xr-x | openttd-git/update-patches | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openttd-git/update-patches b/openttd-git/update-patches index 231af4d7c..05400935f 100755 --- a/openttd-git/update-patches +++ b/openttd-git/update-patches @@ -21,7 +21,7 @@ sums=$( d ' \ | while read -r patch; do - git -C openttd-git diff master "remotes/local/${patch}" -- \ + git -C openttd-git diff $(git -C openttd-git merge-base master "remotes/local/${patch}") "remotes/local/${patch}" -- \ > "${patch}.patch" sha512sum "${patch}.patch" | \ awk '{print $1}' |