Bash if mit Funktionsaufruf
#don't use [[ (or [) when running a command and checking the result code
if is_magento_root_dir $SOURCE_DIR ;then
#code here
fi
Anxious Antelope
#don't use [[ (or [) when running a command and checking the result code
if is_magento_root_dir $SOURCE_DIR ;then
#code here
fi
#don't use [[ (or [) when running a command and checking the result code
if is_magento_root_dir $SOURCE_DIR ;
then
#code here
fi