Fix 1656 - & needs specific quoting under Windows

This commit is contained in:
Dan Lowe 2014-11-16 23:05:14 -05:00
parent c6c5b74f4d
commit 5a2f6481c8

View File

@ -351,7 +351,7 @@ task :setup_github_pages, :repo do |t, args|
mkdir deploy_dir mkdir deploy_dir
cd "#{deploy_dir}" do cd "#{deploy_dir}" do
system "git init" system "git init"
system "echo 'My Octopress Page is coming soon …' > index.html" system 'echo "My Octopress Page is coming soon …" > index.html'
system "git add ." system "git add ."
system "git commit -m \"Octopress init\"" system "git commit -m \"Octopress init\""
system "git branch -m gh-pages" unless branch == 'master' system "git branch -m gh-pages" unless branch == 'master'