|
@@ -1,4 +1,4 @@
|
|
|
-#!/bin/sh
|
|
|
+#!/bin/bash
|
|
|
# export http_proxy=http://192.168.0.144:7890 https_proxy=http://192.168.0.144:7890
|
|
|
|
|
|
PROGNAME=$(basename "$0")
|
|
@@ -245,6 +245,11 @@ PKG_CONFIG_PATH="/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgcon
|
|
|
PKG_CONFIG_PATH+=":/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib64/pkgconfig"
|
|
|
export PKG_CONFIG_PATH
|
|
|
|
|
|
+buildEssentialLib() {
|
|
|
+ sudo apt-get install -y build-essential pkg-config autoconf m4 libtool curl -y
|
|
|
+}
|
|
|
+buildEssentialLib
|
|
|
+
|
|
|
if ! command_exists "make"; then
|
|
|
echo "make not installed."
|
|
|
exit 1
|
|
@@ -753,7 +758,6 @@ if [ ! -d "$WORKSPACE/speech-denoiser" ]; then
|
|
|
fi
|
|
|
|
|
|
cd "$WORKSPACE/speech-denoiser"
|
|
|
-sudo apt-get install -y build-essential pkg-config autoconf m4 libtool curl -y
|
|
|
if command_exists "python3"; then
|
|
|
pyv="$(python3 -c 'import sys; print(".".join(map(str, sys.version_info[:3])))' 2>&1)"
|
|
|
laverison="3.5.2"
|