[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-bundle/master] Bug 16973: Add the mar-tools dir to LD_LIBRARY_PATH
commit 7097c9651a556a314a8265226e2e2c111934a7b0
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
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 {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits