From b7859ce55b85f06133ffb4c85e34f5d25a84f0b3 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Fri, 20 Feb 2015 00:56:41 -0500 Subject: bash scripts: Make script output more user-friendly --- (limited to 'resources/scripts/helpers/build/clean') diff --git a/resources/scripts/helpers/build/clean/bucts b/resources/scripts/helpers/build/clean/bucts index f84cd58..80fe3a8 100755 --- a/resources/scripts/helpers/build/clean/bucts +++ b/resources/scripts/helpers/build/clean/bucts @@ -27,9 +27,13 @@ set -u -e # clean bucts # -------------------------------------------------------- +printf "Cleaning the previous build of bucts\n" + cd bucts/ make clean +printf "\n\n" + # done. go back to main directory. cd ../ diff --git a/resources/scripts/helpers/build/clean/coreboot b/resources/scripts/helpers/build/clean/coreboot index 4af7391..d657aa3 100755 --- a/resources/scripts/helpers/build/clean/coreboot +++ b/resources/scripts/helpers/build/clean/coreboot @@ -27,6 +27,8 @@ set -u -e # clean coreboot utilities (dependencies for 'build'): # ------------------------------------------------------- +printf "Cleaning the previous build of the utilities in coreboot\n" + cd coreboot/ # ---------------------- @@ -59,4 +61,6 @@ make crossgcc-clean # done. go back to main directory cd ../ +printf "\n\n" + # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/clean/flashrom b/resources/scripts/helpers/build/clean/flashrom index 483ce4f..41f5d28 100755 --- a/resources/scripts/helpers/build/clean/flashrom +++ b/resources/scripts/helpers/build/clean/flashrom @@ -27,6 +27,8 @@ set -u -e # clean flashrom # -------------------------------------------------------- +printf "Cleaning the previous build of flashrom\n" + cd flashrom/ make clean @@ -37,4 +39,6 @@ rm -f flashrom_lenovobios_macronix # done. go back to main directory cd ../ +printf "\n\n" + # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/clean/grub b/resources/scripts/helpers/build/clean/grub index b6e4f13..d59410a 100755 --- a/resources/scripts/helpers/build/clean/grub +++ b/resources/scripts/helpers/build/clean/grub @@ -29,9 +29,12 @@ set -u -e cd grub/ +printf "Cleaning the previous build of GRUB\n" [[ -f Makefile ]] && make clean # done. go back to main directoy cd ../ +printf "\n\n" + # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/clean/i945pwm b/resources/scripts/helpers/build/clean/i945pwm index fa9aecf..ff383e8 100755 --- a/resources/scripts/helpers/build/clean/i945pwm +++ b/resources/scripts/helpers/build/clean/i945pwm @@ -27,8 +27,10 @@ set -u -e # clean i945-pwm utility # -------------------------------------------------------------------- +printf "Cleaning the previous build of i945-pwm\n" cd resources/utilities/i945-pwm make clean cd ../../../ +printf "\n\n" # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/clean/ich9deblob b/resources/scripts/helpers/build/clean/ich9deblob index f3ee46a..04d971a 100755 --- a/resources/scripts/helpers/build/clean/ich9deblob +++ b/resources/scripts/helpers/build/clean/ich9deblob @@ -27,8 +27,10 @@ set -u -e # clean ich9deblob utility # -------------------------------------------------------------------- +printf "Cleaning the previous build of ich9deblob\n" cd resources/utilities/ich9deblob/ make clean cd ../../../ +printf "\n\n" # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/clean/memtest86plus b/resources/scripts/helpers/build/clean/memtest86plus index 8d4ede6..3ad8130 100755 --- a/resources/scripts/helpers/build/clean/memtest86plus +++ b/resources/scripts/helpers/build/clean/memtest86plus @@ -27,6 +27,8 @@ set -u -e # clean memtest86+ # -------------------------------------------------------- +printf "Cleaning the previous build of MemTest86+\n" + cd "memtest86+-5.01"/ make clean @@ -34,4 +36,6 @@ make clean # done. go back to main directory cd ../ +printf "\n\n" + # ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/clean/rom_images b/resources/scripts/helpers/build/clean/rom_images index 592b111..02833c3 100755 --- a/resources/scripts/helpers/build/clean/rom_images +++ b/resources/scripts/helpers/build/clean/rom_images @@ -30,4 +30,6 @@ set -u -e # delete the bin/ directory rm -rf bin/ +printf "Deleted the bin/ directory containing the ROM images.\n\n" + # ------------------- DONE ---------------------- -- cgit v0.9.1