{"thread":{"id":"1796","subject":"[PATCH] According to the man page on Solaris the install command takes the -d option before all others","startedAt":"2005-09-14T10:41:52Z","lastAt":"2005-09-14T10:41:52Z","messageCount":1,"participants":["Peter Eriksen"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"8510","messageId":"vhpwtlkorrj.fsf@bohr.gbar.dtu.dk","threadId":"1796","inReplyTo":null,"subject":"[PATCH] According to the man page on Solaris the install command takes the -d option before all others","fromName":"Peter Eriksen","fromEmail":"s022018@student.dtu.dk","sentAt":"2005-09-14T10:41:52Z","receivedAt":"2005-09-14T10:41:52Z","isPatch":true,"sender":{"key":"s022018@student.dtu.dk","avatar":null},"body":"Hello,\n\nI'm new to this whole way of developing, and I'm still a bit confused\nabout the tools and the workflow.  I'm trying to port Git to Solaris, and\nit seems that others are working on this as well, so this post is mostly\na request to share those Solaris patches with me.  The patch below\ndoesn't port git to Solaris, but fixes a small problem for me on the way.\nI tested it on GNU install and it seems to work.  If this patch doesn't\napply at all feel free to edit the two lines by hand.\n\nRegards,\n\nPeter\n\n=================\n\n /usr/sbin/install -d | -i [-m mode] [-u user] [-g group]  [-\n     o] [-s] dirx...\n\nFix the Makefile accordingly.\n\n---\n\n Makefile |    4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)\n\n27ee13ef78c0a25acc1b8dce508b49c0fc729e41\ndiff --git a/Makefile b/Makefile\n--- a/Makefile\n+++ b/Makefile\n@@ -293,12 +293,12 @@ check:\n ### Installation rules\n \n install: $(PROGRAMS) $(SCRIPTS)\n-       $(INSTALL) -m755 -d $(DESTDIR)$(bindir)\n+       $(INSTALL) -d -m755 $(DESTDIR)$(bindir)\n        $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir)\n        $(INSTALL) git-revert $(DESTDIR)$(bindir)/git-cherry-pick\n        sh ./cmd-rename.sh $(DESTDIR)$(bindir)\n        $(MAKE) -C templates install\n-       $(INSTALL) -m755 -d $(DESTDIR)$(GIT_PYTHON_DIR)\n+       $(INSTALL) -d -m755 $(DESTDIR)$(GIT_PYTHON_DIR)\n        $(INSTALL) $(PYMODULES) $(DESTDIR)$(GIT_PYTHON_DIR)\n \n install-doc:\n"}]}