(sorry for the previous message; fingers were too fast) Matthias Andree schrieb: > + VN=$(${GIT} describe --abbrev=4 HEAD 2>/dev/null) && > + ${GIT} update-index -q --refresh > + test -z "$(${GIT} diff-index --name-only HEAD --)" || Use "$GIT" in all those cases > GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE > - @$(SHELL_PATH) ./GIT-VERSION-GEN > + @{ GIT=./git$X ; type $$GIT >/dev/null 2>&1 ; } \ + @{ GIT=./git$X ; type "$$GIT" >/dev/null 2>&1 ; } \ > + || { GIT=$(prefix)/bin/git$X ; type $$GIT >/dev/null 2>&1 ; }\ + || { GIT='$(prefix_SQ)/bin/git$X' ; type "$$GIT" >/dev/null 2>&1 ; }\ BTW, isn't `test -x "$GIT"` better in some way than `type "$GIT"`? > + || GIT=git ; \ > + export GIT ; \ > + $(SHELL_PATH) ./GIT-VERSION-GEN -- Hannes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html