This commit is contained in:
Connor Olding 2015-10-18 23:47:00 -07:00
parent 4437abc01d
commit 5407421531

View file

@ -10,7 +10,9 @@ if [ ! -d .git ]; then
[ -e version ] && rm version
git add .gitignore '*' '**/*'
else
git add -u || echo "nothing new?"
git add -u
changes="$(git status --porcelain | wc -l)"
[ "$changes" -eq 0 ] && exit 0
fi
if [ -s version ]; then