So far I have:
do shell script {var}
"if [[ ! -e /$var/ ]]; then
mkdir -p $var
fi"
I am getting an error of "Command not found"
I know I need to escape something, I'm just not sure where.
Var needs to be passed to the shell command, and create the directory in the specified folder if it doesn't already exist.