aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-07 17:12:46 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-06-07 17:13:30 +0100
commit1645670d88de665904d7c40d32dda29e51853f48 (patch)
treee93fd56ad0dc07ce3d7da236751b67e5dab57cf2 /resources/scripts/helpers
parent74f1cd611e72d4ec1e733801cde1098fc435e7c7 (diff)
downloadlibrebootfr-1645670d88de665904d7c40d32dda29e51853f48.tar.gz
librebootfr-1645670d88de665904d7c40d32dda29e51853f48.zip
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 (limited to 'resources/scripts/helpers')
-rwxr-xr-xresources/scripts/helpers/build/release/src4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src
index 73b3fef1..945a23d2 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}/"