core: use run function to create build directory
This commit is contained in:
parent
e5d6243155
commit
c0d1a0d4b5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user