aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-27 15:09:37 -0700
committerBrandon Mathis <brandon@imathis.com>2011-07-27 15:09:37 -0700
commitb7a9e1e993e3e62768aa579c1302b316b2f8ffbf (patch)
tree46529a255765f0687b8c124d2eaa1fc7e1fbfb40 /Rakefile
parent25704fe35552519a2aa88d6c083295e62b224b97 (diff)
parent3d238313a7390685f7b53dfb54bd57bc0366f8c0 (diff)
downloadmy_new_personal_website-b7a9e1e993e3e62768aa579c1302b316b2f8ffbf.tar.xz
my_new_personal_website-b7a9e1e993e3e62768aa579c1302b316b2f8ffbf.zip
Merge pull request #49 from lukearmstrong/patch-3
Fixed rake update_source
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index acbb0858..addc6888 100644
--- a/Rakefile
+++ b/Rakefile
@@ -139,7 +139,7 @@ task :update_source, :theme do |t, args|
theme = args.theme || 'classic'
system "mv #{source_dir} #{source_dir}.old"
puts "moved #{source_dir} into #{source_dir}.old/"
- system "mkdir -p #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/*. #{source_dir}"
+ system "mkdir -p #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/. #{source_dir}"
system "cp -Rn #{source_dir}.old/. #{source_dir}"
system "cp -f #{source_dir}.old/_includes/navigation.html #{source_dir}/_includes/navigation.html"
puts "## Updated #{source_dir} ##"