diff options
author | Diana Picus <diana.picus@linaro.org> | 2016-04-27 18:29:38 +0300 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2016-04-27 18:55:08 +0300 |
commit | 5a10ae1d0ab1bd04bdab96dfc7fa22916c83ca10 (patch) | |
tree | 420cdaea83abc86b3d6ce334423b7842307c3bd1 | |
parent | 416bc4fa97ca57032c7e1ae8402510e5cc033938 (diff) |
Bugfix: Actually create the build directory
Due to a typo, llvm-build would fail to create the build directory if it didn't
exist (and subsequently failed to cd to it and started building in the wrong
place). This fixes the typo, and also runs the mkdir with safe_run, so we can
bail out if something goes wrong.
Change-Id: I9ffe72a04e9e0643bb37298bf7668d39c2f3600e
-rwxr-xr-x | helpers/llvm-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/llvm-build b/helpers/llvm-build index 5b4f27d..938caa5 100755 --- a/helpers/llvm-build +++ b/helpers/llvm-build @@ -76,7 +76,7 @@ fi ## Make sure sure build dir is there if [ ! -d $build_dir ]; then - mkdir -p $builddir + safe_run mkdir -p $build_dir fi cd $build_dir |