From c612a965e5396fd39981529d0a4c015c5ccb7f44 Mon Sep 17 00:00:00 2001 From: vonavi Date: Wed, 18 Sep 2013 13:04:39 +0300 Subject: [PATCH] Slight changes. --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 07755f3..9dc077c 100644 --- a/Rakefile +++ b/Rakefile @@ -63,9 +63,9 @@ namespace :pgn do puts "PGN directory exists" else puts "Directory \"#{dir.shellescape}\" doesn't exist" - print "Create the directory? " + print "Create the directory? > " answer = $stdin.gets.chomp - if ['Yes', 'yes', 'y'].include? answer + if ['Yes', 'yes', 'Y', 'y'].include? answer FileUtils.mkdir_p dir else abort "PGN directory wasn't created"