cleanup.sh 497 B

1234567891011121314151617
  1. #!/bin/bash
  2. set -e
  3. printf "Cleaning up intermediate files ..."
  4. for f in build gcc_built buildtools binutils gcc_toolchain-sources \
  5. libelf mpfr expat glibc glibc-ports gmp linux ncurses gcc \
  6. isl mpc zlib libiconv gettext duma ltrace strace gdb; do
  7. printf "\rCleaning up intermediate files ... \r"
  8. printf "Cleaning up intermediate files ... $f"
  9. rm -rf $f
  10. done
  11. printf "\rCleaning up intermediate files done \n"
  12. exit 0