mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-12-24 08:28:59 -05:00
Replaces system call with cross-platform cp_r, fixes #200
This commit is contained in:
parent
1772a8af8f
commit
82942bd088
2
Rakefile
2
Rakefile
@ -230,7 +230,7 @@ multitask :push do
|
||||
(Dir["#{deploy_dir}/*"]).each { |f| rm_rf(f) }
|
||||
Rake::Task[:copydot].invoke(public_dir, deploy_dir)
|
||||
puts "\n## copying #{public_dir} to #{deploy_dir}"
|
||||
system "cp -R #{public_dir}/* #{deploy_dir}"
|
||||
cp_r "#{public_dir}/*", deploy_dir
|
||||
cd "#{deploy_dir}" do
|
||||
system "git add ."
|
||||
system "git add -u"
|
||||
|
Loading…
Reference in New Issue
Block a user