mirror of https://github.com/PCSX2/pcsx2.git
Quote all uses of coverity_dir
This commit is contained in:
parent
9f87fb16a2
commit
6698c5760b
6
build.sh
6
build.sh
|
@ -87,7 +87,7 @@ done
|
|||
root=$PWD/$(dirname "$0")
|
||||
log="$root/install_log.txt"
|
||||
build="$root/build"
|
||||
coverity_dir=cov-int
|
||||
coverity_dir="`cov-int`"
|
||||
coverity_result=pcsx2-coverity.xz
|
||||
|
||||
if [[ "$cleanBuild" -eq 1 ]]; then
|
||||
|
@ -187,9 +187,9 @@ fi
|
|||
# Coverity build
|
||||
############################################################
|
||||
if [[ "$CoverityBuild" -eq 1 ]] && [[ -x `which cov-build` ]]; then
|
||||
cov-build --dir $coverity_dir make -j"$ncpu" 2>&1 | tee -a "$log"
|
||||
cov-build --dir "$coverity_dir" make -j"$ncpu" 2>&1 | tee -a "$log"
|
||||
# Warning: $coverity_dir must be the root directory
|
||||
(cd "$build"; tar caf $coverity_result $coverity_dir)
|
||||
(cd "$build"; tar caf $coverity_result "$coverity_dir")
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue