bin/ix-cat in ix-cli-0.0.6 vs bin/ix-cat in ix-cli-0.0.7
- old
+ new
@@ -1,7 +1,7 @@
-#!/usr/bin/env bash
+#!/usr/bin/env ruby
-application=$1
-target_path=`dirname $0`
-target_file="$target_path/ix-$application"
+application = ARGV[0]
+target_path = File.dirname(__FILE__)
+target_file = "#{target_path}/ix-#{application}"
-cat $target_file
+system "cat #{target_file}"