summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-07 15:12:26 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-06-07 15:12:26 (EDT)
commit05c18356ba6f81d1ad50960822b124967e2859c2 (patch)
tree5e0b9ea50b89c6f89960c32bf1b476e87774caf7
parente0dff0a3dffacf99a74ae7f67b4a2c9d47cd59af (diff)
downloadlibreboot-05c18356ba6f81d1ad50960822b124967e2859c2.zip
libreboot-05c18356ba6f81d1ad50960822b124967e2859c2.tar.gz
libreboot-05c18356ba6f81d1ad50960822b124967e2859c2.tar.bz2
build/release/src: re-introduce old behaviour for deletion
-rwxr-xr-xresources/scripts/helpers/build/release/src3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src
index f4cd758..29c0ee0 100755
--- a/resources/scripts/helpers/build/release/src
+++ b/resources/scripts/helpers/build/release/src
@@ -33,7 +33,8 @@ else
fi
printf 'Deleting old source release archives\n'
-rm -Rf release/*_src*
+rm -f "release/${distdir}.tar.xz"
+rm -Rf "release/${distdir}"
mkdir -p "release/${distdir}/"