install.sh 304 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. # Change to source directory for installation
  8. cd sources/bc
  9. echo "Installing bc to ${install_dir}..."
  10. make DESTDIR=${install_dir} install
  11. echo "Installation complete."