diff --git a/ChangeLog b/ChangeLog index 2b4f048..bd238dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-07-18 NIIBE Yutaka + + * src/configure: Bark when not git. + 2017-07-18 Anthony Romano * docker: New. diff --git a/src/configure b/src/configure index f0d471b..3446eb0 100755 --- a/src/configure +++ b/src/configure @@ -46,7 +46,11 @@ hid_card_change=no factory_reset=no # Revision number -if which git >/dev/null 2>&1 && test -e ../.git; then +if test -e ../.git; then + if !type git >/dev/null 2>&1; then + echo 'No git available, please install git' + exit 1 + fi REVISION=`git describe --dirty="-modified"` else REVISION=`cat ../VERSION`