vlc | branch: master | Steve Lhomme <[email protected]> | Tue Mar  5 10:23:37 
2019 +0100| [96b58ec2e5615bf642107903f85e2593fba49713] | committer: Steve Lhomme

contrib: check the git hash regardless of the path used for the hash

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96b58ec2e5615bf642107903f85e2593fba49713
---

 contrib/src/main.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 20d9f3620e..9ddb083ab0 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -346,7 +346,7 @@ download_git = \
        rm -f "$(@:.xz=)" && \
        mv -f -- "[email protected]" "$@"
 check_githash = \
-       h=`sed -n -e "s,^\([0-9a-fA-F]\{40\}\) $<,\1,p" \
+       h=`sed -e "s,^\([0-9a-fA-F]\{40\}\) .*/$(notdir $<),\1,g" \
                < "$(<:.tar.xz=.githash)"` && \
        test "$$h" = "$1"
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to