diff options
Diffstat (limited to 'sample/fullpath.rb')
-rw-r--r-- | sample/fullpath.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sample/fullpath.rb b/sample/fullpath.rb index 6c528f6f96..ce268e20b9 100644 --- a/sample/fullpath.rb +++ b/sample/fullpath.rb @@ -1,9 +1,9 @@ #! /usr/local/bin/ruby # convert ls-lR filename into fullpath. -if $ARGV[0] =~ /-p/ - $ARGV.shift - path = $ARGV.shift +if ARGV[0] =~ /-p/ + ARGV.shift + path = ARGV.shift end if path == nil |