summaryrefslogtreecommitdiffstats
path: root/src/crystalhd.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-10-22 00:30:22 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-10-22 00:31:06 (GMT)
commit168f00c0d173cd1a9605262d6e1470d2313a6120 (patch)
tree2f49d6ab3715c05424ff0140f594e2cb16f656a3 /src/crystalhd.mk
parente9f769f0b2405aec5474b4b9b6b49594a8f06258 (diff)
downloadmxe-168f00c0d173cd1a9605262d6e1470d2313a6120.zip
mxe-168f00c0d173cd1a9605262d6e1470d2313a6120.tar.gz
mxe-168f00c0d173cd1a9605262d6e1470d2313a6120.tar.bz2
crystalhd: Use 0644 permission for installed files
Fixes #541.
Diffstat (limited to 'src/crystalhd.mk')
-rw-r--r--src/crystalhd.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crystalhd.mk b/src/crystalhd.mk
index ee3cd89..a0fe3f2 100644
--- a/src/crystalhd.mk
+++ b/src/crystalhd.mk
@@ -17,5 +17,7 @@ endef
define $(PKG)_BUILD
$(INSTALL) -d '$(PREFIX)/$(TARGET)/include/libcrystalhd'
- cd '$(1)' && cp *.h '$(PREFIX)/$(TARGET)/include/libcrystalhd'
+ for f in "$(1)/*.h"; do
+ $(INSTALL) -m0644 $$f '$(PREFIX)/$(TARGET)/include/libcrystalhd/'
+ done
endef