From 1645670d88de665904d7c40d32dda29e51853f48 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 07 Jun 2015 12:12:46 -0400 Subject: 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. --- (limited to 'resources/scripts/helpers') 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}/" -- cgit v0.9.1