mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Switch dir over to use the new static filesystem dir methods.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@817 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
a5511ad95c
commit
f1e745579c
@@ -91,11 +91,12 @@ variable file-size
|
||||
|
||||
: dir ( "{paths}<cr>" -- )
|
||||
linefeed parse
|
||||
split-path-device
|
||||
open-dev dup 0= if
|
||||
drop
|
||||
exit
|
||||
then
|
||||
dup
|
||||
-rot 2 pick
|
||||
" dir" rot ['] $call-method catch
|
||||
if
|
||||
3drop
|
||||
|
||||
Reference in New Issue
Block a user