aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-13 15:10:07 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-06-13 15:10:07 +0100
commit886a5e81be0957c529ce59ee4fd314640ad36c75 (patch)
treeafb9d8c4950a17504e295e124ca894dee642882f /resources
parentf621383ca3249becaf6eab78d3cc5e5997d756a9 (diff)
downloadlibrebootfr-886a5e81be0957c529ce59ee4fd314640ad36c75.tar.gz
librebootfr-886a5e81be0957c529ce59ee4fd314640ad36c75.zip
build/release/roms: put version in directory name
Diffstat (limited to 'resources')
-rwxr-xr-xresources/scripts/helpers/build/release/roms6
1 files changed, 5 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms
index 0a840a9a..b3a96580 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"