jquery-ui: use install -t to copy images to target
Instead of cp + chmod as there may be other files in the destination directory that chmod shouldn't change permissions of / where chmod might fail (E.G. symlinks that are only valid on the target). Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
0db263726f
commit
ae5ed8b5c6
|
@ -27,9 +27,8 @@ define JQUERY_UI_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -m 0644 -D $(@D)/themes/base/minified/jquery-ui.min.css \
|
$(INSTALL) -m 0644 -D $(@D)/themes/base/minified/jquery-ui.min.css \
|
||||||
$(TARGET_DIR)/var/www/jquery-ui.css
|
$(TARGET_DIR)/var/www/jquery-ui.css
|
||||||
$(INSTALL) -d $(TARGET_DIR)/var/www/images
|
$(INSTALL) -d $(TARGET_DIR)/var/www/images
|
||||||
cp -a $(@D)/themes/base/minified/images/*.png \
|
$(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/images \
|
||||||
$(TARGET_DIR)/var/www/images
|
$(@D)/themes/base/minified/images/*.png
|
||||||
chmod 0644 $(TARGET_DIR)/var/www/images/*.png
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|
Loading…
Reference in a new issue