vlc/vlc-3.0 | branch: master | Steve Lhomme <[email protected]> | Tue Mar 5 10:23:37 2019 +0100| [44eb6444f42218c683a02d1f983d6757a8c7d357] | committer: Steve Lhomme
contrib: check the git hash regardless of the path used for the hash (cherry picked from commit 96b58ec2e5615bf642107903f85e2593fba49713) Signed-off-by: Steve Lhomme <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=44eb6444f42218c683a02d1f983d6757a8c7d357 --- 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 ddcc496a0c..7c223f663c 100644 --- a/contrib/src/main.mak +++ b/contrib/src/main.mak @@ -337,7 +337,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
