summaryrefslogtreecommitdiff
path: root/script/cibuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'script/cibuild.sh')
-rwxr-xr-xscript/cibuild.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/script/cibuild.sh b/script/cibuild.sh
index abe31d0dc..360c28663 100755
--- a/script/cibuild.sh
+++ b/script/cibuild.sh
@@ -7,13 +7,14 @@ then
fi
# Create a test repo which we can use for the online::push tests
-mkdir $HOME/_temp
-git init --bare $HOME/_temp/test.git
-git daemon --listen=localhost --export-all --enable=receive-pack --base-path=$HOME/_temp $HOME/_temp 2>/dev/null &
+mkdir "$HOME"/_temp
+git init --bare "$HOME"/_temp/test.git
+git daemon --listen=localhost --export-all --enable=receive-pack --base-path="$HOME"/_temp "$HOME"/_temp 2>/dev/null &
export GITTEST_REMOTE_URL="git://localhost/test.git"
mkdir _build
cd _build
+# shellcheck disable=SC2086
cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS || exit $?
make -j2 install || exit $?
ctest -V . || exit $?