From 984326078546180a09b30ddd4afecdcff41892ef Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 15 Feb 2015 22:27:09 -0500 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. --- (limited to 'resources/scripts/helpers/build/release') diff --git a/resources/scripts/helpers/build/release/archives b/resources/scripts/helpers/build/release/archives index 64354c4..451e786 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 v0.9.1