diff --git a/scripts/docs/update_docs.sh b/scripts/docs/update_docs.sh index 9a7bd56e..73d814fe 100755 --- a/scripts/docs/update_docs.sh +++ b/scripts/docs/update_docs.sh @@ -24,7 +24,7 @@ function run { cd $SITE_DIR # if no changes, don't commit - if [[ !`git status --porcelain` ]]; then + if ! [[ `git status --porcelain` ]]; then echo "-- No changes detected for the following commit, docs not updated." echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1" else