#!/bin/bash set -e build_dir=$1 install_dir=$2 install_type=$3 # With simpleBuildEnvironment flag, we're already in build directory # We need to change to the source directory first cd sources/tar echo "Installing tar to ${install_dir}..." make install DESTDIR=${install_dir} echo "Installation complete."