commit | bf85279cfd8ddfbb54096390393ec6b0b2d0df2a | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Mon Feb 18 11:06:41 2019 -0800 |
committer | Austin Schuh <austin.linux@gmail.com> | Mon Feb 18 11:21:18 2019 -0800 |
tree | 8dabbc48b8f56b04e9494acee6e9912e756c1ac3 | |
parent | 061c0795c7700a9258ad3e76da979b2a120feb52 [diff] [blame] |
Make bazel start if ~/.cache doesn't exist yet Change-Id: I0a9e8e7c88390ed909488d32cb958550f2986274
diff --git a/tools/bazel b/tools/bazel index a691066..d305cf5 100755 --- a/tools/bazel +++ b/tools/bazel
@@ -33,7 +33,7 @@ # Creating might fail if another invocation is racing us. if [[ ! -d "${DOWNLOAD_DIR}" ]]; then - mkdir "${DOWNLOAD_DIR}" || true + mkdir -p "${DOWNLOAD_DIR}" || true fi if [[ ! -d "${DOWNLOAD_DIR}" ]]; then echo "Failed to create ${DOWNLOAD_DIR}" >&2