core: use run function to create build directory

This commit is contained in:
Sébastien Helleu 2014-07-20 22:35:48 +02:00
parent e5d6243155
commit c0d1a0d4b5

View File

@ -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