summaryrefslogtreecommitdiff
path: root/script/cibuild.sh
diff options
context:
space:
mode:
authorUngureanu Marius <marius.ungureanu@xamarin.com>2014-11-17 07:01:40 +0200
committerUngureanu Marius <marius.ungureanu@xamarin.com>2014-11-20 23:17:19 +0200
commita4fccbbf9d534daba7be11d9f1e0762df939dab8 (patch)
tree601536b2d24a8ca9a14e8693e2a9dbe39ccb19fe /script/cibuild.sh
parentce8822cb409917d0201f359cabe3ae55d25895da (diff)
downloadlibgit2-a4fccbbf9d534daba7be11d9f1e0762df939dab8.tar.gz
Run shell scripts through shellcheck
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 $?