rpgscript.rb fix for riby 3
This commit is contained in:
parent
fd709e073d
commit
6470bc6e4b
|
|
@ -43,7 +43,7 @@ list_path = File.join(scripts_dir, '_scripts.txt')
|
||||||
|
|
||||||
if extract
|
if extract
|
||||||
# Make sure the script directory exists
|
# Make sure the script directory exists
|
||||||
Dir.mkdir(scripts_dir) unless Dir.exists? scripts_dir
|
Dir.mkdir(scripts_dir) unless Dir.exist? scripts_dir
|
||||||
|
|
||||||
# Keep track of names of scripts extracted so we can warn about duplicates
|
# Keep track of names of scripts extracted so we can warn about duplicates
|
||||||
names = Hash.new(0)
|
names = Hash.new(0)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue