1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +02:00

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
+2 -2
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