Commit b23b84c5 authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

Updated Rakefile to behave sanely

parent bfff4457
......@@ -323,7 +323,7 @@ file "#{htdocs_home}/#{hg_number}/Release.gpg" => "Release.gpg" do |t|
cmd << "--exclude '#{ex}'"
end
sh "#{cmd.join(" ")} --times $PWD/ #{htdocs_home}/#{hg_number}"
rm "#{htdocs_home}/current"
rm "#{htdocs_home}/current" if File.exists?("#{htdocs_home}/current")
end
file "#{htdocs_home}/current" => "#{htdocs_home}/#{hg_number}/Release.gpg" do |t|
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment