Commit f2975d0f authored by intrigeri's avatar intrigeri
Browse files

Embed the source date in Tor Launcher's standalone application.ini, instead of...

Embed the source date in Tor Launcher's standalone application.ini, instead of the build date (refs: #12339).
parent 568cf453
......@@ -78,12 +78,13 @@ install_tor_browser() {
torlauncher_version="$(sed -n \
's,^ <em:version>\([0-9\.]\+\)</em:version>,\1,p' \
"${TOR_LAUNCHER_INSTALL}/install.rdf")"
SOURCE_DATE_YYYYMMDD=$(date --utc --date="@$SOURCE_DATE_EPOCH" '+%Y%m%d')
cat > "${TOR_LAUNCHER_INSTALL}/application.ini" << EOF
[App]
Vendor=TorProject
Name=TorLauncher
Version=${torlauncher_version}
BuildID=$(date +%Y%m%d)
BuildID=${SOURCE_DATE_YYYYMMDD}
ID=tor-launcher@torproject.org
[Gecko]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment