@matheusbsbs / matheus-bagliano / commits / 74521eee4c
Fork 0

git-gui: install-sh from automake does not like -m755

The install-sh script as shipped with automake requires a space between the -m switch and its argument. Since this is also the regular way of doing it with other install implementations this change inserts the missing space. Signed-off-by: Robert Schiele <rschiele@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Robert Schiele committed Dec 1, 2007 at 18:05 UTC 74521eee4c9d4c3812b83839d0d98dff72209837
1 file changed +6 -6
Makefile
+6 -6
@@ -43,11 +43,11 @@ endif
43 RM_RF ?= rm -rf
44 RMDIR ?= rmdir
45
46 -INSTALL_D0 = $(INSTALL) -d -m755 # space is required here
46 +INSTALL_D0 = $(INSTALL) -d -m 755 # space is required here
47 INSTALL_D1 =
48 -INSTALL_R0 = $(INSTALL) -m644 # space is required here
48 +INSTALL_R0 = $(INSTALL) -m 644 # space is required here
49 INSTALL_R1 =
50 -INSTALL_X0 = $(INSTALL) -m755 # space is required here
50 +INSTALL_X0 = $(INSTALL) -m 755 # space is required here
51 INSTALL_X1 =
52 INSTALL_A0 = find # space is required here
53 INSTALL_A1 = | cpio -pud
@@ -71,11 +71,11 @@ ifndef V
71 QUIET_2DEVNULL = 2>/dev/null
72
73 INSTALL_D0 = dir=
74 - INSTALL_D1 = && echo ' ' DEST $$dir && $(INSTALL) -d -m755 "$$dir"
74 + INSTALL_D1 = && echo ' ' DEST $$dir && $(INSTALL) -d -m 755 "$$dir"
75 INSTALL_R0 = src=
76 - INSTALL_R1 = && echo ' ' INSTALL 644 `basename $$src` && $(INSTALL) -m644 $$src
76 + INSTALL_R1 = && echo ' ' INSTALL 644 `basename $$src` && $(INSTALL) -m 644 $$src
77 INSTALL_X0 = src=
78 - INSTALL_X1 = && echo ' ' INSTALL 755 `basename $$src` && $(INSTALL) -m755 $$src
78 + INSTALL_X1 = && echo ' ' INSTALL 755 `basename $$src` && $(INSTALL) -m 755 $$src
79 INSTALL_A0 = src=
80 INSTALL_A1 = && echo ' ' INSTALL ' ' `basename "$$src"` && find "$$src" | cpio -pud
81