summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-07 02:16:07 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-06-07 02:16:07 (EDT)
commit37c69e34ff90da3df1194a2b8bf19402437c9d4d (patch)
treeb99bbe3a94ef0220ee83fc0768b13a1faeeb165c /resources/scripts/helpers/build
parent5fb0e4119447fedee5cd4a6eb2e11256225931e4 (diff)
downloadlibreboot-37c69e34ff90da3df1194a2b8bf19402437c9d4d.zip
libreboot-37c69e34ff90da3df1194a2b8bf19402437c9d4d.tar.gz
libreboot-37c69e34ff90da3df1194a2b8bf19402437c9d4d.tar.bz2
build/release/docs: fix archive
Diffstat (limited to 'resources/scripts/helpers/build')
-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}/"