# Thus, our require statements will work regardless of
# how or from where the script was run.
executable = Pathname.new(__FILE__).realpath.to_s
-$: << File.dirname(executable) + '/../'
+$LOAD_PATH << File.dirname(executable) + '/../'
# Load our config file.
require 'bin/configuration'
end
# Warn about nonsensical options.
- if options[:continue] and not (Configuration::DOWNLOAD_METHOD == :wget)
+ if options[:continue] and not Configuration::DOWNLOAD_METHOD == :wget
puts 'WARNING: The --continue flag does nothing unless DOWNLOAD_METHOD is :wget.'
end