diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-06-10 20:30:48 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-06-10 20:30:48 (EDT) |
commit | 12c50f7939c02db85f05830c4b9fccf464b3977a (patch) | |
tree | 42c0b72ee957cc2f70b442cefb14923b06cb8507 /resources/scripts/helpers/build/release | |
parent | 34270811fce1ecf0bcf3b1363b0dc3dbf284ab09 (diff) | |
download | libreboot-12c50f7939c02db85f05830c4b9fccf464b3977a.zip libreboot-12c50f7939c02db85f05830c4b9fccf464b3977a.tar.gz libreboot-12c50f7939c02db85f05830c4b9fccf464b3977a.tar.bz2 |
all script: use a standard style
Based on the style used for the script in
resources/scripts/helpers/build/release/
Diffstat (limited to 'resources/scripts/helpers/build/release')
-rwxr-xr-x | resources/scripts/helpers/build/release/roms | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/release/src | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms index 2f46f39..0a840a9 100755 --- a/resources/scripts/helpers/build/release/roms +++ b/resources/scripts/helpers/build/release/roms @@ -43,7 +43,7 @@ distname="libreboot_${version}" printf 'Building ROM image release archives for...\n' -cd bin/ +cd "bin/" for board in *; do printf '...%s' "${board}" @@ -61,6 +61,6 @@ for board in *; do printf ' OK\n' done -cd ../ +cd "../" printf 'ROM image release archives are stored in %s/\n' "${romdir}" diff --git a/resources/scripts/helpers/build/release/src b/resources/scripts/helpers/build/release/src index f2be4fb..c930395 100755 --- a/resources/scripts/helpers/build/release/src +++ b/resources/scripts/helpers/build/release/src @@ -107,6 +107,10 @@ rm -f "${distdir}/mkgbe.h" rm -f "${distdir}/ich9fdgbe_8m.bin" rm -f "${distdir}/ich9fdgbe_4m.bin" +# Remove any GRUB payload ELF executables that may exist +rm -f "${distdir}/resources/utilities/grub-assemble/grub_txtmode.elf" +rm -f "${distdir}/resources/utilities/grub-assemble/grub_vesafb.elf" + printf 'Creating %s.tar.xz\n' "${distdir}" (cd "${versiondir}/" && tar -c "${distname}/" | xz -9e >"${distname}.tar.xz") |