Skip to content

Commit

Permalink
Merge pull request #2 from curioswati/master
Browse files Browse the repository at this point in the history
fix #1
  • Loading branch information
eduardoboucas committed May 23, 2016
2 parents 1a485cc + e768d82 commit 4df3ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions new-comment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ COMMENTS_DIR=${COMMENTS_DIR_FORMAT//@post-slug/$POST_SLUG}

# Create directory if does not exist
if [ ! -d "$COMMENTS_DIR" ]; then
mkdir ${COMMENTS_DIR}
mkdir -p ${COMMENTS_DIR}
fi

COMMENT_TIMESTAMP=`date +%Y%m%d%H%M%S`
Expand All @@ -92,4 +92,4 @@ git config user.email ${GIT_EMAIL}
git pull ${GIT_ORIGIN} master
git add ${COMMENT_FILE}
git commit -m "${COMMIT_MESSAGE}"
git push --quiet ${GIT_ORIGIN} master > /dev/null 2>&1
git push --quiet ${GIT_ORIGIN} master > /dev/null 2>&1

0 comments on commit 4df3ea5

Please sign in to comment.