diff options
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/do-fetch.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/Scripts/do-fetch.sh b/Mk/Scripts/do-fetch.sh index 2391b964bd39..879120e5cb07 100644 --- a/Mk/Scripts/do-fetch.sh +++ b/Mk/Scripts/do-fetch.sh @@ -17,7 +17,9 @@ validate_env dp_DEVELOPER dp_DISABLE_SIZE dp_DISTDIR dp_DISTINFO_FILE \ set -u -mkdir -p "${dp_DISTDIR}" +if [ ! -d "${dp_DISTDIR}" ]; then + mkdir -p "${dp_DISTDIR}" +fi cd "${dp_DISTDIR}" for _file in "${@}"; do |