Skip to content

Commit

Permalink
fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
curioswati committed May 22, 2016
1 parent 1a485cc commit e768d82
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 e768d82

Please sign in to comment.