From 61702365ab53be41fb7e2d7bdad774776e484119 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 28 Jun 2015 18:58:42 -0400 Subject: build/release/roms: copy version information directly --- diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms index b22aeef..f5064fb 100755 --- 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 -- cgit v0.9.1