projects
/
cmccabe-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0faf2ad
)
names_to_numbers.rb: fix bug in non-glob operation
author
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Sun, 7 Sep 2014 22:51:56 +0000 (15:51 -0700)
committer
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Sun, 7 Sep 2014 22:51:56 +0000 (15:51 -0700)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
names_to_numbers.rb
patch
|
blob
|
history
diff --git
a/names_to_numbers.rb
b/names_to_numbers.rb
index
4538976
..
fe03ff9
100755
(executable)
--- 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