From 37c69e34ff90da3df1194a2b8bf19402437c9d4d Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 07 Jun 2015 02:16:07 -0400 Subject: build/release/docs: fix archive --- (limited to 'resources/scripts/helpers/build/release') 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}/" -- cgit v0.9.1