aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-07 20:09:40 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-06-07 20:09:40 +0100
commite0dff0a3dffacf99a74ae7f67b4a2c9d47cd59af (patch)
tree3a242635c32b6fa8b2a7ad68a24391170e3c63ff
parent3a7209550c6ffe2f8989c5868b12810c31d31a50 (diff)
downloadlibrebootfr-e0dff0a3dffacf99a74ae7f67b4a2c9d47cd59af.tar.gz
librebootfr-e0dff0a3dffacf99a74ae7f67b4a2c9d47cd59af.zip
Revert "build/release/docs: delete all old archives"
This reverts commit 3a7209550c6ffe2f8989c5868b12810c31d31a50.
-rwxr-xr-xresources/scripts/helpers/build/release/docs2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/release/docs b/resources/scripts/helpers/build/release/docs
index 128166c3..93aa4a2e 100755
--- a/resources/scripts/helpers/build/release/docs
+++ b/resources/scripts/helpers/build/release/docs
@@ -35,7 +35,7 @@ fi
[ -d release/ ] || mkdir release/
printf 'Deleting old documentation release archives\n'
-rm -Rf release/*_docs*
+rm -f "release/${distdir}.tar.xz"
printf '%s\n' "${version}" >"docs/version"
printf 'Creating compressed documentation archive at %s/\n' "release/${distdir}.tar.xz"