From 886a5e81be0957c529ce59ee4fd314640ad36c75 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sat, 13 Jun 2015 10:10:07 -0400 Subject: build/release/roms: put version in directory name --- (limited to 'resources') diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms index 0a840a9..b3a9658 100755 --- a/resources/scripts/helpers/build/release/roms +++ b/resources/scripts/helpers/build/release/roms @@ -53,8 +53,12 @@ for board in *; do # Delete the old archive rm -f "../${romdir}/${distname}_${board}.tar.xz" + cp -R "${board}/" "${distname}_${board}/" + # Create the compressed archive. - tar -c "${board}" | xz -9e >"../${romdir}/${distname}_${board}.tar.xz" + tar -c "${distname}_${board}/" | xz -9e >"../${romdir}/${distname}_${board}.tar.xz" + + rm -Rf "${distname}_${board}/" # No longer needed. rm -f "${board}/version" -- cgit v0.9.1