summaryrefslogtreecommitdiff
path: root/resources/scripts/build/clean
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/build/clean')
-rwxr-xr-xresources/scripts/build/clean/crossgcc8
1 files changed, 2 insertions, 6 deletions
diff --git a/resources/scripts/build/clean/crossgcc b/resources/scripts/build/clean/crossgcc
index 8c61dd5f..76de1e19 100755
--- a/resources/scripts/build/clean/crossgcc
+++ b/resources/scripts/build/clean/crossgcc
@@ -22,6 +22,8 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
+. "include/err.sh"
+
main()
{
printf "Cleaning crossgcc builds in all coreboot archives\n"
@@ -34,10 +36,4 @@ main()
done
}
-err()
-{
- printf "%s: %s\n" $0 $1
- exit 1
-}
-
main $@