What is the equivalent expression in sh
of the following bash
expression?
[ ! "${LOCAL}" == "true" ] && echo "other" || echo "local"
What is the equivalent expression in sh
of the following bash
expression?
[ ! "${LOCAL}" == "true" ] && echo "other" || echo "local"
Based on Shawn's comment this is the answer on the initial question
[ ! "${LOCAL}" = "true" ] && echo "other" || echo "local"