scripts/pvscheck.sh: fix function rename

This commit is contained in:
Justin M. Keyes 2017-06-25 07:52:21 +02:00
parent 4b08b5d194
commit 2b377d89db

View File

@ -8,7 +8,7 @@ set -e
# arguments provided.
test -z "$POSH_VERSION" && set -u
echo_jobs_num() {
get_jobs_num() {
if [ -n "${TRAVIS:-}" ] ; then
# HACK: /proc/cpuinfo on Travis CI is misleading, so hardcode 1.
echo 1
@ -280,13 +280,13 @@ create_compile_commands() {(
cd "$tgt/build"
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="$PWD/root"
make -j"$(echo_jobs_num)"
make -j"$(get_jobs_num)"
)
else
(
cd "$tgt"
make -j"$(echo_jobs_num)" CMAKE_EXTRA_FLAGS=" -DCMAKE_INSTALL_PREFIX=$PWD/root -DCMAKE_BUILD_TYPE=Debug "
make -j"$(get_jobs_num)" CMAKE_EXTRA_FLAGS=" -DCMAKE_INSTALL_PREFIX=$PWD/root -DCMAKE_BUILD_TYPE=Debug "
)
fi
find "$tgt/build/src/nvim/auto" -name '*.test-include.c' -delete