diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-02-16 03:27:09 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-02-16 03:27:09 +0000 |
commit | 984326078546180a09b30ddd4afecdcff41892ef (patch) | |
tree | d2ec8e2b8d882bf2f0c575d563681e159b75b876 /resources/scripts/helpers/build | |
parent | 2a1e40fb992cf5fa297235db1eb1427ec3971b47 (diff) | |
download | librebootfr-984326078546180a09b30ddd4afecdcff41892ef.tar.gz librebootfr-984326078546180a09b30ddd4afecdcff41892ef.zip |
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.
Diffstat (limited to 'resources/scripts/helpers/build')
-rwxr-xr-x | resources/scripts/helpers/build/release/archives | 4 |
1 files changed, 4 insertions, 0 deletions
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 |