diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-12-20 11:24:29 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-12-20 11:24:29 +0100 |
commit | 601bf47ef8a68f773393210b5a7c54f9020ec91a (patch) | |
tree | fa0457c19625a535b5a5377b2851ebf05ad557a5 /package/jquery | |
parent | 4565a1d75f7576c4b654152e1e5162f8b932f1ca (diff) |
package: don't install javascript files as executable
install defaults to mode 0755, not 0644, so explicitly pass mode to
ensure .js files aren't made executable.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/jquery')
-rw-r--r-- | package/jquery/jquery.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/jquery/jquery.mk b/package/jquery/jquery.mk index aba6301ca..08dd4a37f 100644 --- a/package/jquery/jquery.mk +++ b/package/jquery/jquery.mk @@ -7,7 +7,8 @@ define JQUERY_EXTRACT_CMDS endef define JQUERY_INSTALL_TARGET_CMDS - $(INSTALL) -D $(@D)/$(JQUERY_SOURCE) $(TARGET_DIR)/var/www/jquery.js + $(INSTALL) -m 0644 -D $(@D)/$(JQUERY_SOURCE) \ + $(TARGET_DIR)/var/www/jquery.js endef define JQUERY_UNINSTALL_TARGET_CMDS |