On 2019-07-24 06:30, Philippe Mathieu-Daudé wrote:
>
>> -elif [[ ( -f `which build` ||  -f `which GenFv` )  && ! -d  
>> $EDK_TOOLS_PATH/Source/C/bin ]];
>> +elif [[ ( $(command -v build) || $(command -v GenFv) ) && ! -d 
>> $EDK_TOOLS_PATH/Source/C/bin ]];
> Why add $() ?


They're needed when used in a test ([...] or [[...]]) statement. $()
replaces the older `` syntax.


-- 

Rebecca Cran


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44314): https://edk2.groups.io/g/devel/message/44314
Mute This Topic: https://groups.io/mt/32579615/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to