1#!/bin/sh -eux 2 3if [ -n "$(git status --porcelain)" ]; then 4 echo 'warning: source tree contains uncommitted changes; .gitignore patterns may need to be fixed' 5 git status 6 false 7fi 8