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