#!/bin/bash
[% c("var/set_default_env") -%]
cd [% shell_quote(path(dest_dir)) %]/[% c("var/signed_status") %]/[%  c("version") %]

export TOR_APPNAME_BUNDLE_OSX='[% c("var/display_name") -%]'
export TOR_APPNAME_DMGFILE='[% c("var/project-name") -%]'
export TOR_APPNAME_MARFILE='[% c("var/project-name") -%]'
[% shell_quote(c("basedir")) %]/tools/dmg2mar [% c("var/mar_channel_id") %]
