Update mktemp command to work on Mac OS X

Fix issue 274. It seens like the same with
[this issue](https://github.com/StanAngeloff/lotte/issues/1).
This commit is contained in:
spacewander 2014-11-13 22:13:13 +08:00
parent 92c34e8e00
commit 67241a46a8

View file

@ -17,7 +17,7 @@ install:
@mkdir -p $(DESTDIR)$(BINPREFIX)
@echo "... installing bins to $(DESTDIR)$(BINPREFIX)"
@echo "... installing man pages to $(DESTDIR)$(MANPREFIX)"
$(eval TEMPFILE := $(shell mktemp))
$(eval TEMPFILE := $(shell mktemp -t git-extra.XXX))
@# chmod from rw-------(default) to rwxrwxr-x, so that users can exec the scripts
@chmod 775 $(TEMPFILE)
@$(foreach COMMAND, $(COMMANDS_USED_WITH_GIT_REPO), \