#!/bin/bash set -e build_dir=$1 install_dir=$2 install_type=$3 # With simpleBuildEnvironment flag, we're already in build directory # Source is in sources/file relative to package root # DESTDIR is overridden to install_dir by USM src_dir="sources/file" echo "Installing file-5.46 to ${install_dir}..." cd ${src_dir} && make DESTDIR=${install_dir} install echo "Installation complete."