Browse code

Merge pull request #159 from tmiller/patch-1

Removing glob because globbing does not pick up dotfiles.

Frederic Hemberger authored on 20/09/2011 at 06:00:11
Showing 1 changed files
... ...
@@ -225,7 +225,7 @@ desc "deploy public directory to github pages"
225 225
 multitask :push do
226 226
   puts "## Deploying branch to Github Pages "
227 227
   (Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
228
-  system "cp -R #{public_dir}/* #{deploy_dir}"
228
+  system "cp -R #{public_dir}/ #{deploy_dir}"
229 229
   puts "\n## copying #{public_dir} to #{deploy_dir}"
230 230
   cd "#{deploy_dir}" do
231 231
     system "git add ."