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

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


commit f3a1676797a35a63ff2e40f89e6aab169b8661b0
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 a371403..a875774 100755
--- a/tools/update-responses/update_responses
+++ b/tools/update-responses/update_responses
@@ -329,6 +329,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