summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2017-04-04 17:15:17 +0000
committerGerrit Code Review <gerrit@fd.io>2017-04-04 17:15:17 +0000
commit51e0777f9b978c46234e788527cd7c2910432aa9 (patch)
treec33c23c3b2080b0ec726fce55b4644f27ce68253
parente40a084fe2a54594bbbe5584bac21a3f461f10a8 (diff)
parent3cc4c2898d96cd6a144a0ff50978fa2ec94543f3 (diff)
Merge "Fix path of apt-get"
-rw-r--r--jjb/cicn/build-package.sh4
-rw-r--r--jjb/cicn/include-raw-cicn-viper-build.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/jjb/cicn/build-package.sh b/jjb/cicn/build-package.sh
index 48c1dd658..677a1ed81 100644
--- a/jjb/cicn/build-package.sh
+++ b/jjb/cicn/build-package.sh
@@ -3,7 +3,7 @@
set -euo pipefail
IFS=$'\n\t'
-apt_get=/usr/local/apt-get
+apt_get=`which apt-get`
# Parameters:
# $1 = Distribution [trusty / CentOS]
@@ -200,4 +200,4 @@ build_package() {
echo "*******************************************************************"
exit 0
-} \ No newline at end of file
+}
diff --git a/jjb/cicn/include-raw-cicn-viper-build.sh b/jjb/cicn/include-raw-cicn-viper-build.sh
index 53eb70877..0585d280e 100644
--- a/jjb/cicn/include-raw-cicn-viper-build.sh
+++ b/jjb/cicn/include-raw-cicn-viper-build.sh
@@ -3,7 +3,7 @@
set -euo pipefail
IFS=$'\n\t'
-apt_get=/usr/local/apt-get
+apt_get=`which apt-get`
PACKAGE_NAME="VIPER"
VIPER_DEPS_UBUNTU="zlib1g-dev git-core build-essential libxml2-dev libcurl4-openssl-dev \
@@ -93,4 +93,4 @@ popd
# Build viper
build
-make package \ No newline at end of file
+make package