Slight changes.
This commit is contained in:
parent
fadc968ba1
commit
c612a965e5
4
Rakefile
4
Rakefile
@ -63,9 +63,9 @@ namespace :pgn do
|
|||||||
puts "PGN directory exists"
|
puts "PGN directory exists"
|
||||||
else
|
else
|
||||||
puts "Directory \"#{dir.shellescape}\" doesn't exist"
|
puts "Directory \"#{dir.shellescape}\" doesn't exist"
|
||||||
print "Create the directory? "
|
print "Create the directory? > "
|
||||||
answer = $stdin.gets.chomp
|
answer = $stdin.gets.chomp
|
||||||
if ['Yes', 'yes', 'y'].include? answer
|
if ['Yes', 'yes', 'Y', 'y'].include? answer
|
||||||
FileUtils.mkdir_p dir
|
FileUtils.mkdir_p dir
|
||||||
else
|
else
|
||||||
abort "PGN directory wasn't created"
|
abort "PGN directory wasn't created"
|
||||||
|
Loading…
Reference in New Issue
Block a user