From 51ad614bd2b5268ea3c7bb7ca8afbb7cafad9dfb Mon Sep 17 00:00:00 2001 From: Patrick Aikens Date: Sat, 1 Feb 2014 00:09:38 -0500 Subject: [PATCH] Reversed update_style copy direction to correctly restore the sass.old/custom files to the new sass/custom folder --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index f2372aa..c766324 100644 --- a/Rakefile +++ b/Rakefile @@ -187,8 +187,8 @@ task :update_style, :theme do |t, args| end mv "sass", "sass.old" puts "## Moved styles into sass.old/" - cp_r "#{themes_dir}/"+theme+"/sass/", "sass" - cp_r "sass/custom/.", "sass.old/custom" + cp_r "#{themes_dir}/"+theme+"/sass/", "sass", :remove_destination=>true + cp_r "sass.old/custom/.", "sass.old/custom/", :remove_destination=>true puts "## Updated Sass ##" end