Skip to content

Commit

Permalink
made sure that 'Field Agent' runs with Cygwin, too
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimaryFeather committed Dec 5, 2016
1 parent 8f84a9b commit 8f95a78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/field_agent/field_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
output_file = nil

def windows?
(/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
(/mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
end

def log(message)
Expand Down Expand Up @@ -66,7 +66,7 @@ def system_xp(command)
options.invert = true
end

opts.on('-c', '--convert-path PATH', String, 'Name or path of the ImageMagick "convert" tool') do |path|
opts.on('-c', '--convert-path PATH', String, 'Name or path of the ImageMagick "convert" tool.') do |path|
options.convert_path = path
end

Expand Down

0 comments on commit 8f95a78

Please sign in to comment.