From 984326078546180a09b30ddd4afecdcff41892ef Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Mon, 16 Feb 2015 03:27:09 +0000 Subject: build/release/archives: Delete the uncompressed archives If the user forgot to run "./build rom withgrub" before "./build release archives" and it fails (due to bin/ being missing), the user then runs "./build rom withgrub", but "./build release archives" then shows the error that the libreboot_src directory already exists, and fails again. --- resources/scripts/helpers/build/release/archives | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'resources/scripts/helpers/build/release/archives') diff --git a/resources/scripts/helpers/build/release/archives b/resources/scripts/helpers/build/release/archives index 64354c41..451e7868 100755 --- a/resources/scripts/helpers/build/release/archives +++ b/resources/scripts/helpers/build/release/archives @@ -54,6 +54,10 @@ echo "Deleting old release archives" rm -f libreboot_*.tar.xz rm -f tobuild.tar.xz rm -rf release/ +rm -rf tobuild/ +rm -rf libreboot_bin +rm -rf libreboot_src +rm -rf libreboot_doc # Get manifest which will be used to copy everything find -maxdepth 1 > releasefilelist -- cgit v1.2.3-70-g09d2