Skip to content

Commit 2ca0b37

Browse files
committed
build: Don't use -T option on install cmd. Not OS X compatible
1 parent a831e7c commit 2ca0b37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/install.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
# Installation macro. Call with source directory as arg 1,
66
# destination directory as arg 2, and filename/libname-glob as arg 3
77
ifdef VERBOSE
8-
INSTALL = install -m755 -T $(1)/$(3) $(2)/$(3)
8+
INSTALL = install -m755 $(1)/$(3) $(2)/$(3)
99
INSTALL_LIB = install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
1010
else
11-
INSTALL = $(Q)$(call E, install: $(2)/$(3)) && install -m755 -T $(1)/$(3) $(2)/$(3)
11+
INSTALL = $(Q)$(call E, install: $(2)/$(3)) && install -m755 $(1)/$(3) $(2)/$(3)
1212
INSTALL_LIB = $(Q)$(call E, install_lib: $(2)/$(3)) && \
1313
install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
1414
endif

0 commit comments

Comments
 (0)