having fun with some bash-isms.
s/mkdir/mkdir -p/g
changed the name of the variable and removed extra "