libreboot

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

commit a0cdd42dd51becc69117abc99789abdccfd2cfb4
parent f4516730b0fa85fd6f1a97d820cb7f5aaada82f6
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Sun,  7 Jun 2015 20:24:48 +0100

build/release/crossgcc: support version in filename

Diffstat:
resources/scripts/helpers/build/release/crossgcc | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/resources/scripts/helpers/build/release/crossgcc b/resources/scripts/helpers/build/release/crossgcc @@ -25,7 +25,12 @@ set -u -e printf 'Building the coreboot crossgcc archives\n' -distdir='crossgcc' +version="$(git describe --tags HEAD)" +if [ "x${VERSION_IN_FILENAMES+set}" = 'xset' ]; then + distdir="crossgcc_${version}" +else + distdir='crossgcc' +fi printf 'Deleting old coreboot crossgcc archives\n' rm -Rf "release/${distdir}/"