From 8f95a785c9cd57bf155ad3423ded1aed04c68240 Mon Sep 17 00:00:00 2001 From: Daniel Sperl Date: Mon, 5 Dec 2016 16:45:43 +0100 Subject: [PATCH] made sure that 'Field Agent' runs with Cygwin, too --- util/field_agent/field_agent.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/field_agent/field_agent.rb b/util/field_agent/field_agent.rb index 5edc7a241..18bb978e9 100755 --- a/util/field_agent/field_agent.rb +++ b/util/field_agent/field_agent.rb @@ -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) @@ -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