Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 4886c9a8807211511209feeafc2fcec9788b0bfd
parent 17f72436f5a798aafee4afdf1f1a3fedf085cd01
Author: Francis Rowe <>
Date:   Mon,  8 Jun 2015 01:47:50 +0100

build/release/src: create a directory for the release

resources/scripts/helpers/build/release/src | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src @@ -26,11 +26,13 @@ set -u -e printf 'Building the source release archive\n' version="$(git describe --tags HEAD)" -distdir="release/libreboot_${version}_src" +versiondir="release/${version}" +distname="libreboot_${version}_src" +distdir="${versiondir}/${distname}" printf 'Deleting old source release archives\n' rm -f "${distdir}.tar.xz" -rm -Rf "${distdir}" +rm -Rf "${distdir}/" mkdir -p "${distdir}/" @@ -97,7 +99,7 @@ rm -f "${distdir}/ich9fdgbe_8m.bin" rm -f "${distdir}/ich9fdgbe_4m.bin" printf 'Creating %s.tar.xz\n' "${distdir}" -(cd release/ && tar -c "${distdir}/" | xz -9e >"${distdir}.tar.xz") +(cd "${versiondir}/" && tar -c "${distname}/" | xz -9e >"${distname}.tar.xz") rm -Rf "${distdir}/"