From: Colin Patrick Mccabe Date: Sun, 7 Sep 2014 22:51:56 +0000 (-0700) Subject: names_to_numbers.rb: fix bug in non-glob operation X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7a23999166987ed23dc27313f440a239a140da9;p=cmccabe-bin names_to_numbers.rb: fix bug in non-glob operation Signed-off-by: Colin McCabe --- diff --git a/names_to_numbers.rb b/names_to_numbers.rb index 4538976..fe03ff9 100755 --- a/names_to_numbers.rb +++ b/names_to_numbers.rb @@ -59,7 +59,7 @@ class MyOptions opts.num_digits > 0 raise "must specify an extension" unless opts.extension != nil if (opts.glob == nil) then - opts.glob = "*.#{$opts.extension}" + opts.glob = "*.#{opts.extension}" end return opts end