diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-06-07 12:12:46 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-06-07 12:13:30 (EDT) |
commit | 1645670d88de665904d7c40d32dda29e51853f48 (patch) | |
tree | e93fd56ad0dc07ce3d7da236751b67e5dab57cf2 | |
parent | 74f1cd611e72d4ec1e733801cde1098fc435e7c7 (diff) | |
download | libreboot-1645670d88de665904d7c40d32dda29e51853f48.zip libreboot-1645670d88de665904d7c40d32dda29e51853f48.tar.gz libreboot-1645670d88de665904d7c40d32dda29e51853f48.tar.bz2 |
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.
-rwxr-xr-x | resources/scripts/helpers/build/release/src | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src index 73b3fef..945a23d 100755 --- 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}/" |