summaryrefslogtreecommitdiffstats
path: root/resources/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts')
-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 128166c..93aa4a2 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"