git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] According to the man page on Solaris the install command takes the -d option before all others

From
PEPeter Eriksen <s022018@student.dtu.dk>
Date
Sep 14, 2005, 10:41 UTC
Message-ID
<vhpwtlkorrj.fsf@bohr.gbar.dtu.dk>
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:
Message 1 of 1 in “According to the man page on Solaris the install command takes the -d option before all others”
  1. According to the man page on Solaris the install command takes the -d option before all othersPeter Eriksen, Sep 14, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.