mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
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:
parent
92c34e8e00
commit
67241a46a8
2
Makefile
2
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), \
|
||||
|
|
|
|||
Loading…
Reference in a new issue