[Emacs] Move directory when setting up deploy.sh

This commit is contained in:
Ivan Malison 2016-12-28 02:24:06 -08:00
parent 624b6d493d
commit c83e6ea7cb
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,6 +1,10 @@
#!/usr/bin/env bash
# This approach was adapted from https://gist.github.com/domenic/ec8b0fc8ab45f39403dd
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $THIS_DIR
set -e # Exit with nonzero exit code if anything fails
SOURCE_BRANCH="master"