summaryrefslogtreecommitdiff
path: root/sample/fullpath.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/fullpath.rb')
-rw-r--r--sample/fullpath.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/fullpath.rb b/sample/fullpath.rb
index 252e7dc217..8472e5d8f4 100644
--- a/sample/fullpath.rb
+++ b/sample/fullpath.rb
@@ -15,7 +15,7 @@ end
while line = gets()
case line
when /:$/
- path = $_.chop.chop + "/"
+ path = line.chop.chop + "/"
when /^total/, /^d/
when /^(.*\d )(.+)$/
print($1, path, $2, "\n")