📜  bash if 调用函数 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:14.256000             🧑  作者: Mango

代码示例1
#don't use [[ (or [) when running a command and checking the result code
if is_magento_root_dir $SOURCE_DIR ;
then
#code here
fi