From 6f301eab57f888b56bcbe6277a0d584e2aacd508 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Sat, 10 Mar 2012 15:07:53 +0100 Subject: [PATCH] Build/grunt: Fix copy_themes task, files.themes config property wasn't processed properly --- grunt.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grunt.js b/grunt.js index cbf3d48a6..585aed809 100644 --- a/grunt.js +++ b/grunt.js @@ -441,7 +441,8 @@ task.registerTask('copy_themes', function() { var files = file.expand('dist/tmp/*/development-bundle/themes/**/*').filter(function(file) { return !filter.test(file); }); - var target = 'dist/' + config('files.themes') + '/'; + // TODO the template.process call shouldn't be necessary + var target = 'dist/' + template.process(config('files.themes'), config()) + '/'; files.forEach(function(fileName) { var targetFile = fileName.replace(/dist\/tmp\/\d+\/development-bundle\//, '').replace("jquery-ui-.custom", "jquery-ui.css"); file.copy(fileName, target + targetFile); -- 2.39.5