Patchwork jquery-ui-themes: strip theme name

login
register
mail settings
Submitter Simon Dawson
Date May 7, 2013, 10:09 a.m.
Message ID <1367921356-8018-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/242106/
State Accepted
Commit b2c8569f04f36a545c9e63e1372495e8e502efa6
Headers show

Comments

Simon Dawson - May 7, 2013, 10:09 a.m.
From: Simon Dawson <spdawson@gmail.com>

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/jquery-ui-themes/jquery-ui-themes.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Peter Korsgaard - May 7, 2013, 1:20 p.m.
>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

 spdawson> From: Simon Dawson <spdawson@gmail.com>
 spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>

Committed, thanks.

Patch

diff --git a/package/jquery-ui-themes/jquery-ui-themes.mk b/package/jquery-ui-themes/jquery-ui-themes.mk
index 3c51b89..c410b64 100644
--- a/package/jquery-ui-themes/jquery-ui-themes.mk
+++ b/package/jquery-ui-themes/jquery-ui-themes.mk
@@ -19,10 +19,10 @@  endef
 
 define JQUERY_UI_THEMES_INSTALL_TARGET_CMDS
 	$(INSTALL) -m 0644 -D \
-		$(@D)/themes/$(BR2_PACKAGE_JQUERY_UI_THEMES_THEME)/jquery-ui.css \
+		$(@D)/themes/$(call qstrip,$(BR2_PACKAGE_JQUERY_UI_THEMES_THEME))/jquery-ui.css \
 		$(TARGET_DIR)/var/www/jquery-ui.css
 	$(INSTALL) -d $(TARGET_DIR)/var/www/images
-	cp -a $(@D)/themes/$(BR2_PACKAGE_JQUERY_UI_THEMES_THEME)/images/*.png \
+	cp -a $(@D)/themes/$(call qstrip,$(BR2_PACKAGE_JQUERY_UI_THEMES_THEME))/images/*.png \
 		$(TARGET_DIR)/var/www/images
 	chmod 0644 $(TARGET_DIR)/var/www/images/*.png
 endef