[tbb-commits] [tor-browser-bundle/master] Bug 16973: Add the mar-tools dir to LD_LIBRARY_PATH

gk at torproject.org gk at torproject.org
Thu Sep 3 11:33:00 UTC 2015


commit 7097c9651a556a314a8265226e2e2c111934a7b0
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Thu Sep 3 12:11:29 2015 +0200

    Bug 16973: Add the mar-tools dir to LD_LIBRARY_PATH
---
 tools/update-responses/update_responses |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/update-responses/update_responses b/tools/update-responses/update_responses
index bb285fd..b1b3331 100755
--- a/tools/update-responses/update_responses
+++ b/tools/update-responses/update_responses
@@ -331,6 +331,11 @@ sub extract_martools {
     chdir $old_cwd;
     exit_error "Error extracting $marzip" unless $success;
     $ENV{PATH} .= ":$martools_tmpdir/mar-tools";
+    if ($ENV{LD_LIBRARY_PATH}) {
+        $ENV{LD_LIBRARY_PATH} .= ":$martools_tmpdir/mar-tools";
+    } else {
+        $ENV{LD_LIBRARY_PATH} = "$martools_tmpdir/mar-tools";
+    }
 }
 
 sub log_step {



More information about the tbb-commits mailing list