summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/release/src
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/release/src')
-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}/"