Ticket #16963: 0001-Bug-16963-use-the-right-commit-hash-in-TORBROWSER_BU.patch

File 0001-Bug-16963-use-the-right-commit-hash-in-TORBROWSER_BU.patch, 853 bytes (added by boklm, 4 years ago)
  • gitian/get-tb-version

    From b4465b0552bafe401d17afcb86d53962d35c1c7e Mon Sep 17 00:00:00 2001
    From: Nicolas Vigier <boklm@torproject.org>
    Date: Wed, 2 Sep 2015 12:50:47 +0200
    Subject: [PATCH] Bug 16963: use the right commit hash in TORBROWSER_BUILDDIR
    
    ---
     gitian/get-tb-version | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/gitian/get-tb-version b/gitian/get-tb-version
    index 9a4a102ccdf9..771029641a10 100755
    a b foreach my $commit (run_cmd('git', 'log', '-s', '--format=%H', '-200')) { 
    4444    next unless $tags{$commit};
    4545    print "TORBROWSER_VERSION=$tags{$commit}->[0]\n";
    4646    print "TORBROWSER_BUILDDIR=$tags{$commit}->[0]-",
    47           substr($commit, 0, 12), "\n";
     47          substr($current_commit, 0, 12), "\n";
    4848    print "TORBROWSER_SYMLINK_VERSION=0\n";
    4949    exit 0;
    5050}