Change-Id: I29e3a3de47def4a19d5656ee17efeb784984b7f0
Signed-off-by: Mauro Sardara <[email protected]>
set -euxo pipefail
IFS=$'\n\t'
+SCRIPT_PATH=$( cd "$(dirname "${BASH_SOURCE}")" ; pwd -P )
APT_PATH=`which apt-get` || true
apt_get=${APT_PATH:-"/usr/local/bin/apt-get"}
}
# Build libdash
-pushd ../libdash
+pushd $SCRIPT_PATH/../libdash
build
make package
sudo make install
popd
# Build viper
-pushd ..
+pushd $SCRIPT_PATH/..
build
make package
find . -not -name '*.deb' -not -name '*.rpm' -print0 | xargs -0 rm -rf -- || true