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 4677d0b..a676385 100755
--- a/resources/scripts/helpers/build/release/docs
+++ b/resources/scripts/helpers/build/release/docs
@@ -44,7 +44,7 @@ cp -R docs/ "release/${distdir}/"
printf '%s\n' "${version}" >"release/${distdir}/version"
printf 'Creating %s.tar.xz\n' "release/${distdir}"
-tar -c "release/${distdir}/" | xz -9e >"release/${distdir}.tar.xz"
+(cd release/ && tar -c "${distdir}/" | xz -9e >"${distdir}.tar.xz")
rm -Rf "release/${distdir}/"