Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Removed warning on Mac platform
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianofranz committed May 30, 2012
1 parent 1f1ce07 commit 9f28b35
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions express/lib/rhc/targz.rb
Expand Up @@ -4,8 +4,11 @@
require 'archive/tar/minitar'
include Archive::Tar

TAR_BIN = 'tar'
TAR_BIN = '/usr/bin/gnutar' if File.executable?('/usr/bin/gnutar')
if File.executable?('/usr/bin/gnutar') then
TAR_BIN = '/usr/bin/gnutar'
else
TAR_BIN = 'tar'
end

module RHC

Expand Down

0 comments on commit 9f28b35

Please sign in to comment.