From a35580e0dd867cfaa239ccea417a6b84b6b42c4a Mon Sep 17 00:00:00 2001 From: Ionitron Date: Wed, 4 May 2016 17:05:19 -0500 Subject: [PATCH] typo --- scripts/docs/prepare.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/docs/prepare.sh b/scripts/docs/prepare.sh index 084f36796..7cae3adae 100755 --- a/scripts/docs/prepare.sh +++ b/scripts/docs/prepare.sh @@ -15,9 +15,10 @@ function init { function run { # no need to run on PRs - if [ -z $CI_PULL_REQUEST ] then + if [ -z $CI_PULL_REQUEST ]; then exit 0 fi + if [ ! -d "$SITE_DIR" ]; then echo "checking out" cd ./scripts