diff options
Diffstat (limited to 'resources/scripts/helpers/build/release/crossgcc')
-rwxr-xr-x | resources/scripts/helpers/build/release/crossgcc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/resources/scripts/helpers/build/release/crossgcc b/resources/scripts/helpers/build/release/crossgcc index d76947b..fd07418 100755 --- 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}" |