From: Peter Eriksen Date: Wed, 14 Sep 2005 10:41:52 GMT Subject: [PATCH] According to the man page on Solaris the install command takes the -d option before all others Message-ID: Hello, I'm new to this whole way of developing, and I'm still a bit confused about the tools and the workflow. I'm trying to port Git to Solaris, and it seems that others are working on this as well, so this post is mostly a request to share those Solaris patches with me. The patch below doesn't port git to Solaris, but fixes a small problem for me on the way. I tested it on GNU install and it seems to work. If this patch doesn't apply at all feel free to edit the two lines by hand. Regards, Peter ================= /usr/sbin/install -d | -i [-m mode] [-u user] [-g group] [- o] [-s] dirx... Fix the Makefile accordingly. --- Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 27ee13ef78c0a25acc1b8dce508b49c0fc729e41 diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -293,12 +293,12 @@ check: ### Installation rules install: $(PROGRAMS) $(SCRIPTS) - $(INSTALL) -m755 -d $(DESTDIR)$(bindir) + $(INSTALL) -d -m755 $(DESTDIR)$(bindir) $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir) $(INSTALL) git-revert $(DESTDIR)$(bindir)/git-cherry-pick sh ./cmd-rename.sh $(DESTDIR)$(bindir) $(MAKE) -C templates install - $(INSTALL) -m755 -d $(DESTDIR)$(GIT_PYTHON_DIR) + $(INSTALL) -d -m755 $(DESTDIR)$(GIT_PYTHON_DIR) $(INSTALL) $(PYMODULES) $(DESTDIR)$(GIT_PYTHON_DIR) install-doc: