libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 1645670d88de665904d7c40d32dda29e51853f48
parent 74f1cd611e72d4ec1e733801cde1098fc435e7c7
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Sun,  7 Jun 2015 17:12:46 +0100

build/release/src: Delete *all* old src archives

Currently, if you set version in filenames, old archives without
a version in the filename are not being deleted. (and vice versa).
This patch fixes that.

Diffstat:
resources/scripts/helpers/build/release/src | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src @@ -35,8 +35,8 @@ fi [ -d release/ ] || mkdir -p "release/" printf 'Deleting old source release archives\n' -rm -f "release/${distdir}.tar.xz" -rm -Rf "release/${distdir}/" +rm -f "release/*_src.tar.xz" +rm -Rf "release/*_src/" mkdir "release/${distdir}/"