Fix path of apt-get
[ci-management.git] / jjb / cicn / include-raw-cicn-viper-build.sh
index 53eb708..0585d28 100644 (file)
@@ -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