libreboot

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

commit 61702365ab53be41fb7e2d7bdad774776e484119
parent 0bf121dc31a7a045fa15319ed0e3f8410481f947
Author: Francis Rowe <info@gluglug.org.uk>
Date:   Sun, 28 Jun 2015 23:58:42 +0100

build/release/roms: copy version information directly

Diffstat:
resources/scripts/helpers/build/release/roms | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms @@ -55,22 +55,19 @@ for payload in *; do printf '...%s' "${payload}/${board}" - # Put the version string in the archive. - printf '%s\n' "${version}" >"${board}/version" - # Delete the old archive rm -f "../../${romdir}/${payload}/${distname}_${board}.tar.xz" cp -R "${board}/" "${archivename}/" + # Put the version string in the archive. + printf '%s\n' "${version}" >"${archivename}/version" + # Create the compressed archive. tar -c "${archivename}/" | xz -9e >"../../${romdir}/${payload}/${archivename}.tar.xz" rm -Rf "${archivename}/" - # No longer needed. - rm -f "${board}/version" - printf ' OK\n' done