Features are not active when building COMMIT-ID

This commit is contained in:
Juan Jose Garcia Ripoll 2010-02-25 13:37:18 +01:00
parent 92c3438df1
commit 122425ad1e

View file

@ -31,8 +31,8 @@
;;;
(setq si::+commit-id+ "UNKNOWN")
#-windows
(when (probe-file "@top_srcdir@/../.git/")
(when (and (not (member :windows *features*))
(probe-file "@top_srcdir@/../.git/")
(when (probe-file "COMMIT-ID")
(delete-file "COMMIT-ID"))
(when (and (zerop (si::system "(cd \"@top_srcdir@\" && git log --format=oneline -1) > COMMIT-ID"))