git ssb

0+

Grey the earthling / gkn.me.uk



Commit 27268b699a2fd33a120e3d133e0d862cfd4c8603

Fix Makefile's git status check

Grey Nicholson committed on 10/1/2021, 5:06:22 PM
Parent: ffdd8daff4715410cb83a5d5184b94b3111586ed

Files changed

Makefilechanged
MakefileView
@@ -30,10 +30,11 @@
3030 exit 1
3131 else ifeq "${SSHPORT}" ""
3232 @echo "SSHPORT is undefined"
3333 exit 1
34-else ifneq "$$(git status --porcelain)" ""
35- @echo "Uncommitted changes"
34 +else ifneq "$(shell git status --porcelain)" ""
35 + @echo "Uncommitted changes:"
36 + @git status --porcelain
3637 exit 1
3738 else
3839 echo -e "cd ${SSHDIR} \n put -r output/* \n exit" | \
3940 sshpass -e sftp -oBatchMode=no -b - sftp://${SSHUSER}@gkn.me.uk:${SSHPORT}

Built with git-ssb-web