about summary refs log tree commit diff stats
path: root/code/runcontext.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-20 20:51:05 +0200
committerhut <hut@lavabit.com>2009-07-20 20:51:05 +0200
commitdace2522844898415e3d4e20e0ce88d57a1d4c00 (patch)
tree0e51a208bcc0dc5ca098237447f9382782bf2fdd /code/runcontext.rb
parent426dc8f9b2946bfbbfe62f416b53a8483a14c4ea (diff)
downloadranger-dace2522844898415e3d4e20e0ce88d57a1d4c00.tar.gz
improved handling of A-flags
Diffstat (limited to 'code/runcontext.rb')
-rw-r--r--code/runcontext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/runcontext.rb b/code/runcontext.rb
index f39e80d3..aceccb99 100644
--- a/code/runcontext.rb
+++ b/code/runcontext.rb
@@ -42,7 +42,7 @@ class RunContext
 		end
 		self.flags = flags || ''
 
-		if !@all and ( cf = Fm.currentfile ).is_a? Directory::Entry
+		if @flags.include?( "A" ) and ( cf = Fm.currentfile ).is_a? Directory::Entry
 			@files = [cf]
 		end