Permalink
Browse files

use system, not `

/cc @eric
  • Loading branch information...
1 parent 9bcad6f commit 7849079be403e00b4de1def5ef4cf7b0fb230cdc @technoweenie committed Dec 28, 2012
Showing with 10 additions and 9 deletions.
  1. +4 −3 script/gem
  2. +6 −6 script/release
View
@@ -6,6 +6,7 @@ require File.expand_path("../ruby", __FILE__)
require 'fileutils'
FileUtils.mkdir_p File.expand_path("../../pkg", __FILE__)
-puts `script/gemspec`
-puts `gem build #{MakeScript.gemspec_file}`
-puts `mv #{MakeScript.gem_file} pkg`
+system "script/gemspec"
+system "gem build #{MakeScript.gemspec_file}"
+system "mv #{MakeScript.gem_file} pkg"
+
View
@@ -4,10 +4,10 @@
require File.expand_path("../ruby", __FILE__)
-puts `script/gem`
-puts `git commit --allow-empty -a -m 'Release #{MakeScript.version}'`
-puts `git tag v#{MakeScript.version}`
-puts `git push origin`
-puts `git push origin v#{MakeScript.version}`
-puts `gem push pkg/#{MakeScript.gem_file}`
+system "script/gem"
+system "git commit --allow-empty -a -m 'Release #{MakeScript.version}'"
+system "git tag v#{MakeScript.version}"
+system "git push origin"
+system "git push origin v#{MakeScript.version}"
+system "gem push pkg/#{MakeScript.gem_file}"

0 comments on commit 7849079

Please sign in to comment.