[tbb-commits] [tor-browser-build/master] Fix faketime path in ddmg.sh

boklm at torproject.org boklm at torproject.org
Wed Aug 9 15:14:49 UTC 2017


commit 9a732cfa7e869ff50f679c9bdaa964892fa80328
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Wed Aug 9 17:10:54 2017 +0200

    Fix faketime path in ddmg.sh
---
 projects/tor-browser/ddmg.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/tor-browser/ddmg.sh b/projects/tor-browser/ddmg.sh
index 20bd8f9..a715300 100755
--- a/projects/tor-browser/ddmg.sh
+++ b/projects/tor-browser/ddmg.sh
@@ -10,7 +10,7 @@ pushd [% src %]
 find . -type f | sed -e 's/^\.\///' | sort | xargs -i echo "{}={}" > [% filelist %]
 find . -type l | sed -e 's/^\.\///' | sort | xargs -i echo "{}={}" >> [% filelist %]
 
-export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
+export LD_PRELOAD=[% c("var/faketime_path") %]
 export FAKETIME="[% USE date; GET date.format(c('timestamp'), format = '%Y-%m-%d %H:%M:%S') %]"
 
 genisoimage -D -V "Tor Browser" -no-pad -R -apple -o "$dmg_tmpdir/tbb-uncompressed.dmg" -path-list [% filelist %] -graft-points -gid 20 -dir-mode 0755 -new-dir-mode 0755



More information about the tbb-commits mailing list