From 37c69e34ff90da3df1194a2b8bf19402437c9d4d Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 7 Jun 2015 07:16:07 +0100 Subject: build/release/docs: fix archive --- resources/scripts/helpers/build/release/docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/scripts/helpers/build') 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}/" -- cgit v1.2.3-70-g09d2