Fix build script

pull/1748/head
winlin 5 years ago
parent 6e9e0d6ce3
commit 095e7c5a4e

@ -162,13 +162,6 @@ function Centos_prepare()
echo "The unzip is installed." echo "The unzip is installed."
fi fi
nasm -v >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
echo "Installing nasm."
require_sudoer "sudo yum install -y nasm"
sudo yum install -y nasm; ret=$?; if [[ 0 -ne $ret ]]; then return $ret; fi
echo "The nasm is installed."
fi
if [[ $SRS_VALGRIND == YES ]]; then if [[ $SRS_VALGRIND == YES ]]; then
valgrind --help >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then valgrind --help >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
echo "Installing valgrind." echo "Installing valgrind."

Loading…
Cancel
Save