From 7ff0f28ed4f0c62cb0e66dcc8565e72a2cba7a7e Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Thu, 4 Nov 2021 11:42:50 +0100 Subject: [PATCH] dup: Message about unset DUP_DIR is now being output to STDERR to prevent it from clobbering up redirections of --sample and stuff. --- dup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dup.rb b/dup.rb index e9551b8..892749f 100755 --- a/dup.rb +++ b/dup.rb @@ -469,7 +469,7 @@ if ENV['DUP_DIR'] $base_dir = ENV['DUP_DIR'] else $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 opts = GetoptLong.new(