Skip to content

Commit

Permalink
Merge pull request #2608 from alfredxing/fix-proof-grep
Browse files Browse the repository at this point in the history
  • Loading branch information
parkr committed Jul 16, 2014
2 parents e6698fc + bf465cd commit c070784
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/proof
Expand Up @@ -3,7 +3,7 @@
# Usage:
# script/proof

git diff --name-only origin $(git log --pretty=format:"%h" -2 | tail -1) | grep '^/site' || {
git diff --name-only origin $(git log --pretty=format:"%h" -2 | tail -1) | grep '^site/' || {
echo "No site files changed. We'll skip proofing."
exit 0
}
Expand Down
2 changes: 1 addition & 1 deletion script/test
Expand Up @@ -4,7 +4,7 @@
# script/test
# script/test <hi>

git diff --name-only origin $(git log --pretty=format:"%h" -2 | tail -1) | grep -v '^/site' || {
git diff --name-only origin $(git log --pretty=format:"%h" -2 | tail -1) | grep -v '^site/' || {
echo "No lib files have changed, skipping Jekyll tests!"
exit 0
}
Expand Down

0 comments on commit c070784

Please sign in to comment.