]> source.dussan.org Git - jquery-ui.git/commitdiff
Build/grunt: Fix themes task
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sun, 11 Mar 2012 11:55:07 +0000 (12:55 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sun, 11 Mar 2012 11:55:07 +0000 (12:55 +0100)
grunt.js

index b7d893cb83a904b0100b3ae23f7149ed4a34c05b..f22322379b7bd2cbce8b6d5182d2577beadd60b4 100644 (file)
--- a/grunt.js
+++ b/grunt.js
@@ -449,7 +449,8 @@ task.registerTask('copy_themes', function() {
   });
 
   // copy minified base theme from regular release
-  var distFolder = 'dist/' + config('files.dist');
+  // TODO same as the one above
+  var distFolder = 'dist/' + template.process(config('files.dist'), config());
   files = file.expand(distFolder + '/themes/base/**/*');
   files.forEach(function(fileName) {
     file.copy(fileName, target + fileName.replace(distFolder, ''));