diff options
| author | Ungureanu Marius <marius.ungureanu@xamarin.com> | 2014-11-17 07:01:40 +0200 |
|---|---|---|
| committer | Ungureanu Marius <marius.ungureanu@xamarin.com> | 2014-11-20 23:17:19 +0200 |
| commit | a4fccbbf9d534daba7be11d9f1e0762df939dab8 (patch) | |
| tree | 601536b2d24a8ca9a14e8693e2a9dbe39ccb19fe /script/cibuild.sh | |
| parent | ce8822cb409917d0201f359cabe3ae55d25895da (diff) | |
| download | libgit2-a4fccbbf9d534daba7be11d9f1e0762df939dab8.tar.gz | |
Run shell scripts through shellcheck
Diffstat (limited to 'script/cibuild.sh')
| -rwxr-xr-x | script/cibuild.sh | 7 |
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 $? |
