SyntaxFix
Write A Post
Hire A Developer
Questions
I think you should re-format your code a bit:
#!/bin/bash if [ ! -d /home/mlzboy/b2c2/shared/db ]; then mkdir -p /home/mlzboy/b2c2/shared/db; fi;