bin/shutter in shutter-0.0.6 vs bin/shutter in shutter-0.0.7
- old
+ new
@@ -4,8 +4,8 @@
require 'rubygems'
rescue LoadError
end
require 'shutter'
-config_path = ENV['SHUTTER_CONFIG'] ? ENV['SHUTTER_CONFIG'] : "/etc/shutter.d"
-ENV['SHUTTER_MODE'] = "production"
+config_path = ENV['SHUTTER_CONFIG'] || "/etc/shutter.d"
+ENV['SHUTTER_MODE'] = ENV['SHUTTER_MODE'] || "production"
Shutter::CommandLine.new(config_path).execute
\ No newline at end of file