[vlc-commits] contrib: check the git hash regardless of the path used for the hash
    Steve Lhomme 
    git at videolan.org
       
    Mon May 20 11:49:37 CEST 2019
    
    
  
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | 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 -- "$@.tmp" "$@"
 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"
 
    
    
More information about the vlc-commits
mailing list