summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvan Shelhamer <shelhamer@imaginarynumber.net>2014-03-19 22:29:17 -0700
committerEvan Shelhamer <shelhamer@imaginarynumber.net>2014-03-19 22:31:59 -0700
commit19a7e23cccb1b2f07b61ccbb11341ac85d37b9b1 (patch)
treef7a0f7af7a27f8fcb4937a2fca80d9a94f5c95ac /scripts
parentaa0a52f9e6ca2e4499bb30f13af844aa94ebdae4 (diff)
downloadcaffeonacl-19a7e23cccb1b2f07b61ccbb11341ac85d37b9b1.tar.gz
caffeonacl-19a7e23cccb1b2f07b61ccbb11341ac85d37b9b1.tar.bz2
caffeonacl-19a7e23cccb1b2f07b61ccbb11341ac85d37b9b1.zip
fix script path incantation
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_and_deploy_docs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build_and_deploy_docs.sh b/scripts/build_and_deploy_docs.sh
index fdb75dbf..b6029613 100755
--- a/scripts/build_and_deploy_docs.sh
+++ b/scripts/build_and_deploy_docs.sh
@@ -15,7 +15,7 @@ MSG=`git log --oneline -1`
if [[ $BRANCH = 'master' ]]; then
# Find the docs dir, no matter where the script is called
- DIR="$(readlink -f $(dirname "$0"))"
+ DIR="$( cd "$(dirname "$0")" ; pwd -P )"
DOCS_SITE_DIR=$DIR/../docs/_site
# Make sure that docs/_site tracks remote:gh-pages.