Any ideas what is wrong with this code?
CLIENT_BUILD_DIR="~/Desktop/TempDir/" if [ ! -d $CLIENT_BUILD_DIR ] then { mkdir $CLIENT_BUILD_DIR } fi
I get the error: mkdir: ~ / Desktop: there is no such file or directory.
Obviously, the directory exists and the script works if I replace the variable with ~ / Desktop / TempDir /
source share