aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLuke Armstrong <me@lukearmstrong.co.uk>2011-07-27 23:50:35 +0200
committerLuke Armstrong <me@lukearmstrong.co.uk>2011-07-27 23:50:35 +0200
commit3d238313a7390685f7b53dfb54bd57bc0366f8c0 (patch)
tree46529a255765f0687b8c124d2eaa1fc7e1fbfb40 /Rakefile
parent25704fe35552519a2aa88d6c083295e62b224b97 (diff)
downloadmy_new_personal_website-3d238313a7390685f7b53dfb54bd57bc0366f8c0.tar.xz
my_new_personal_website-3d238313a7390685f7b53dfb54bd57bc0366f8c0.zip
Fixed [cp: cannot stat `.themes/classic/source/*.': No such file or directory]
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} ##"