[U-Boot] [PATCH V4 08/12] cmd_test: implement -e test for file existence

Tom Rini trini at ti.com
Tue Feb 4 23:07:10 CET 2014


On Mon, Feb 03, 2014 at 01:21:06PM -0700, Stephen Warren wrote:

> From: Stephen Warren <swarren at nvidia.com>
> 
> This is much like a regular shell's -e operator, except that it takes
> multiple arguments to specify the device type and  device/partition ID
> in addition to the usual filename:
> 
> if test -e mmc 0:1 /boot/boot.scr; then echo yes; else echo no; fi
> 
> Signed-off-by: Stephen Warren <swarren at nvidia.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140204/9f5865b9/attachment.pgp>


More information about the U-Boot mailing list