install.sh 309 B

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