Skip to content

Commit 5329047

Browse files
committed
---
yaml --- r: 10861 b: refs/heads/master c: 6841c77 h: refs/heads/master i: 10859: b574c74 v: v3
1 parent d09e193 commit 5329047

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 53dbde6cc2aabbf44bf75aea1eecad5729396081
2+
refs/heads/master: 6841c777f6ccc0cb78f6889fc4224167aab43232
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/mk/install.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
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 = cp $(1)/$(3) $(2)/$(3)
9-
INSTALL_LIB = cp `ls -rt1 $(1)/$(3) | tail -1` $(2)/
8+
INSTALL = install -m755 -T $(1)/$(3) $(2)/$(3)
9+
INSTALL_LIB = install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
1010
else
11-
INSTALL = $(Q)$(call E, install: $(2)/$(3)) && cp $(1)/$(3) $(2)/$(3)
11+
INSTALL = $(Q)$(call E, install: $(2)/$(3)) && install -m755 -T $(1)/$(3) $(2)/$(3)
1212
INSTALL_LIB = $(Q)$(call E, install_lib: $(2)/$(3)) && \
13-
cp `ls -rt1 $(1)/$(3) | tail -1` $(2)/
13+
install -m644 `ls -rt1 $(1)/$(3) | tail -1` $(2)/
1414
endif
1515

1616
# The stage we install from

0 commit comments

Comments
 (0)