Fix `grep` pattern in `script/test` as well

This commit is contained in:
Alfred Xing 2014-07-16 11:17:19 -07:00
parent d8140f4142
commit bf465cd904
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
# script/test # script/test
# script/test <hi> # 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!" echo "No lib files have changed, skipping Jekyll tests!"
exit 0 exit 0
} }