From c0d1a0d4b50b285ec6cf914ce938ac63d3004dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 20 Jul 2014 22:35:48 +0200 Subject: [PATCH] core: use run function to create build directory --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 19aaec439..2f00c3e2a 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -47,8 +47,8 @@ if [ -z "$BUILDTOOL" ]; then fi # create build directory -mkdir $BUILDDIR || exit 1 -cd $BUILDDIR || exit 1 +run "mkdir $BUILDDIR" +run "cd $BUILDDIR" if [ "$BUILDTOOL" = "cmake" ]; then # build with CMake