Skip to content

Commit

Permalink
specify path to /bin/cat
Browse files Browse the repository at this point in the history
  • Loading branch information
seamusabshere committed Jan 20, 2011
1 parent cc7e2c3 commit 4e02f24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/eat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def eat(filesystem_path_or_uri)
if ::File.readable? uri.path
::IO.read uri.path
else
`sudo cat #{uri.path}`
`sudo /bin/cat #{uri.path}`
end
when 'http', 'https'
require 'net/http'
Expand Down
2 changes: 1 addition & 1 deletion lib/eat/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Eat
VERSION = "0.0.3"
VERSION = "0.0.4"
end

0 comments on commit 4e02f24

Please sign in to comment.