Permalink
Browse files

don't break if pkg/ was already created

  • Loading branch information...
1 parent 5afd0d8 commit 51e8429805c133aa2616d041d2e7e7c481213a17 @goncalossilva committed Sep 27, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -16,7 +16,7 @@ end
desc "Build gem locally"
task :build => :gemspec do
system "gem build #{gemspec.name}.gemspec"
- FileUtils.mkdir "pkg"
+ FileUtils.mkdir_p "pkg"
FileUtils.mv "#{gemspec.name}-#{gemspec.version}.gem", "pkg"
end

0 comments on commit 51e8429

Please sign in to comment.