aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-07 20:12:26 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-06-07 20:12:26 +0100
commit05c18356ba6f81d1ad50960822b124967e2859c2 (patch)
tree5e0b9ea50b89c6f89960c32bf1b476e87774caf7
parente0dff0a3dffacf99a74ae7f67b4a2c9d47cd59af (diff)
downloadlibrebootfr-05c18356ba6f81d1ad50960822b124967e2859c2.tar.gz
librebootfr-05c18356ba6f81d1ad50960822b124967e2859c2.zip
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 f4cd758b..29c0ee02 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}/"