| 1 | Change 'ensure-directories-exist' to look for 'mkdir' in $PATH, not in /bin. |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | (cmd (if (member :win32 *features*) |
| 7 | (format nil "mkdir \"~a\"" |
| 8 | (coerce (subst #\\ #\/ (coerce (namestring dir) 'list)) 'string)) |
| 9 | - (format nil "/bin/mkdir -p ~S" (namestring dir))))) |
| 10 | + (format nil "mkdir -p ~S" (namestring dir))))) |
| 11 | (unless (directory dir) |
| 12 | (lisp:system cmd)) |
| 13 | ;; The second return value is supposed to be T if directories were |