bin/dircat in dircat-0.1.12 vs bin/dircat in dircat-0.2.0
- old
+ new
@@ -1,6 +1,10 @@
#!/usr/bin/env ruby
+# -*- coding: utf-8 -*-
+require 'rubygems'
cwd = File.expand_path(File.join(File.dirname(__FILE__), %w{ .. lib}))
$:.unshift(cwd) unless $:.include?(cwd)
require 'dircat'
-DirCat::CliDirCat.run!
+include DirCat
+exit DirCat::CliDirCat.run!
+