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