From 67241a46a820f19706a398adfee55af863fb5449 Mon Sep 17 00:00:00 2001 From: spacewander Date: Thu, 13 Nov 2014 22:13:13 +0800 Subject: [PATCH] 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). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ccbce8c..da9a0b1 100644 --- a/Makefile +++ b/Makefile @@ -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), \