libreboot

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

commit 0c1c2b3f1a2fe4da25acd476406c77ad5463778c
parent a455ead469e67471015b1d7dd1e71befb95b9f33
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Mon,  8 Jun 2015 00:29:16 +0100

build/release/crossgcc: simplify directory reference

Diffstat:
resources/scripts/helpers/build/release/crossgcc | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/resources/scripts/helpers/build/release/crossgcc b/resources/scripts/helpers/build/release/crossgcc @@ -23,19 +23,19 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +[ -d release/ ] || mkdir release/ + printf 'Building the coreboot crossgcc archives\n' version="$(git describe --tags HEAD)" -distdir="crossgcc_${version}" +distdir="release/crossgcc_${version}" printf 'Deleting old coreboot crossgcc archives\n' -rm -Rf "release/${distdir}/" - -[ -d release/ ] || mkdir release/ +rm -Rf "${distdir}/" -printf 'Copying coreboot crossgcc archives to %s/\n' "release/${distdir}" -cp -R coreboot/util/crossgcc/tarballs/ "release/${distdir}/" +printf 'Copying coreboot crossgcc archives to %s/\n' "${distdir}" +cp -R coreboot/util/crossgcc/tarballs/ "${distdir}/" -printf '%s\n' "${version}" >"release/${distdir}/version" +printf '%s\n' "${version}" >"${distdir}/version" -printf 'coreboot crossgcc archives are stored in release/%s\n' "${distdir}" +printf 'coreboot crossgcc archives are stored in %s\n' "${distdir}"