summaryrefslogtreecommitdiff
path: root/script/cibuild.sh
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-11-21 10:59:20 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2014-11-21 10:59:20 -0500
commit6f4461763eb0518112d22c3a096417e7eedf7385 (patch)
tree486d54fb5210172f34aa70f002799700e764929f /script/cibuild.sh
parentdeadc43e1d6eeb23645d5503b3084846a42d92dd (diff)
parenta4fccbbf9d534daba7be11d9f1e0762df939dab8 (diff)
downloadlibgit2-6f4461763eb0518112d22c3a096417e7eedf7385.tar.gz
Merge pull request #2710 from Therzok/shellcheckScripts
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 55111b925..8983dcce0 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 $?