dup: Message about unset DUP_DIR is now being output to STDERR to prevent it from clobbering up redirections of --sample and stuff.
This commit is contained in:
parent
99370803e3
commit
7ff0f28ed4
2
dup.rb
2
dup.rb
@ -469,7 +469,7 @@ if ENV['DUP_DIR']
|
|||||||
$base_dir = ENV['DUP_DIR']
|
$base_dir = ENV['DUP_DIR']
|
||||||
else
|
else
|
||||||
$base_dir = File.join(Dir.home, ".dup")
|
$base_dir = File.join(Dir.home, ".dup")
|
||||||
puts "Environment variable DUP_DIR is not set. Looking for .yml files in #{$base_dir}" unless silent_basedir
|
STDERR.puts "Environment variable DUP_DIR is not set. Looking for .yml files in #{$base_dir}" unless silent_basedir
|
||||||
end
|
end
|
||||||
|
|
||||||
opts = GetoptLong.new(
|
opts = GetoptLong.new(
|
||||||
|
Loading…
Reference in New Issue
Block a user