#!/bin/sh
cd "${0%/*}" # Sets current directory to Mailpile.app/Contents/Resources/app/bin/
export PATH=`pwd`/:$PATH
export SSL_CERT_FILE=`pwd`/../etc/openssl/cert.pem
exec python ../opt/mailpile/scripts/mailpile "$@"
