diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-20 22:35:48 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-20 22:35:48 +0200 |
commit | c0d1a0d4b50b285ec6cf914ce938ac63d3004dbc (patch) | |
tree | 191d0f11e5ba6a4cd32af78405120a0391f43545 | |
parent | e5d62431552cd28907bc176c5d5a3bcd93a4e74e (diff) | |
download | weechat-c0d1a0d4b50b285ec6cf914ce938ac63d3004dbc.zip |
core: use run function to create build directory
-rwxr-xr-x | scripts/build.sh | 4 |
1 files 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 |