Skip to content

Commit

Permalink
Fix the travis git status check
Browse files Browse the repository at this point in the history
An ERE would be easier to read, but grep -E might not be supported.
  • Loading branch information
cmb69 committed Aug 14, 2016
1 parent 9a3bd70 commit 673a644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ check_git_status() {
# forgetting to commit the few generated (e.g. cmake.in) files.
# Note: We ignore config.h.cmake changes since it indirectly
# depends on the format of the output of autoheader :/.
status=$(git status --porcelain | grep -v '^ M src/config.h.cmake') || :
status=$(git status --porcelain | grep -v '^ M src/config\.h\.cmake' | grep -v '^ M docs/naturaldocs/project/Menu\.txt') || :
if [[ -n ${status} ]]; then
echo "Missing git repo updates (gitignore/etc...):"
echo "$ git status"
Expand Down

0 comments on commit 673a644

Please sign in to comment.