Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash if call function

#don't use [[ (or [) when running a command and checking the result code
if is_magento_root_dir $SOURCE_DIR ;
then
#code here
fi
 
PREVIOUS NEXT
Tagged: #bash #call #function
ADD COMMENT
Topic
Name
6+1 =