install.sh 325 B

12345678910111213141516171819
  1. #!/bin/bash
  2. set -e
  3. # Binutils FITP install script
  4. # Installs binutils to the destination directory
  5. build_dir=$1
  6. install_dir=$2
  7. install_type=$3
  8. echo "Installing binutils FITP..."
  9. # Change to build directory
  10. cd sources/binutils/build
  11. # Install the package
  12. make install DESTDIR=${install_dir}
  13. echo "Installation complete."