Shouldn't have been trying to cd to mkdir.