Merge branch 'master' of github.com:cwpearson/hugo-cwpearson

This commit is contained in:
Carl Pearson
2017-09-29 07:16:50 -05:00
3 changed files with 33 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ set -eoux pipefail
HUGO_ROOT=`pwd`
## Try to find cwpearson.github.io
IO_ROOT=`find $HOME -name cwpearson.github.io`
IO_ROOT=`find $HOME -type d ! -perm -a+r -prune -o -name cwpearson.github.io -print`
if [[ -z "$IO_ROOT" ]]; then
echo "Couldn't find cwpearson.github.io in $HOME"