Skip to content

Commit

Permalink
Make release script compatible with Ruby 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Oct 20, 2011
1 parent 05a76de commit 3aff8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/all.rb
Expand Up @@ -34,7 +34,7 @@ def version
task :build => :clean do
cd dir
sh "gem build #{gemspec}"
mkdir_p package_dir unless Dir.exists?(package_dir)
mkdir_p package_dir unless File.directory?(package_dir)
mv gem, "#{package_dir}/#{gem}"
end

Expand Down

0 comments on commit 3aff8a3

Please sign in to comment.