bin/sxp2xml in sxp-1.1.0 vs bin/sxp2xml in sxp-1.2.0
- old
+ new
@@ -1,5 +1,5 @@
-#!/usr/bin/env ruby -rubygems
-$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')))
+#!/usr/bin/env ruby
+$::unshift(File.expand_path("../../lib", __FILE__))
require 'sxp'
abort "Usage: #{File.basename($0)} input.sxp > output.xml" if ARGV.empty?