diff options
-rwxr-xr-x | resources/scripts/helpers/build/release/docs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/release/docs b/resources/scripts/helpers/build/release/docs index 4677d0bd..a676385a 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}/" |