packages: roms: release: unify whitespaces.

Before resources/packages/roms/release contained a mix of spaces and
tabs. This unify to spaces as there are less tabs than spaces.

This should contain no code changes.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-11-29 20:14:29 +01:00 committed by Adrien 'neox' Bourmault
parent 27e3f744b6
commit 88f2a1e34b
Signed by: neox
GPG Key ID: 57BC26A3687116F6
1 changed files with 8 additions and 9 deletions

View File

@ -3,7 +3,7 @@
# #
# helper script: generate release archive (ROM images) # helper script: generate release archive (ROM images)
# #
# Copyright (C) 2020,2021 Leah Rowe <info@minifree.org> # Copyright (C) 2020,2021 Leah Rowe <info@minifree.org>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -29,11 +29,11 @@ projectname="$(cat projectname)"
version="version-unknown" version="version-unknown"
if [ -f version ]; then if [ -f version ]; then
version="$(cat version)" version="$(cat version)"
fi fi
versiondate="version-date-unknown" versiondate="version-date-unknown"
if [ -f versiondate ]; then if [ -f versiondate ]; then
versiondate="$(cat versiondate)" versiondate="$(cat versiondate)"
fi fi
if [ ! -d "bin/" ]; then if [ ! -d "bin/" ]; then
@ -57,14 +57,13 @@ printf "Building ROM image archives for version %s\n" "${version}"
fi fi
printf "Generating release/roms/%s-%s_%s.tar.xz\n" "${projectname}" "${version}" "${target##*/}" printf "Generating release/roms/%s-%s_%s.tar.xz\n" "${projectname}" "${version}" "${target##*/}"
printf "%s\n" "${version}" > "${target}/version" printf "%s\n" "${version}" > "${target}/version"
printf "%s\n" "${versiondate}" > "${target}/versiondate" printf "%s\n" "${versiondate}" > "${target}/versiondate"
printf "%s\n" "${projectname}" > "${target}/projectname" printf "%s\n" "${projectname}" > "${target}/projectname"
rm -f ../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar rm -f ../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar
tar -cf ../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar "${target}/" tar -cf ../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar "${target}/"
xz -vv -9e -f ../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar xz -vv -9e -f ../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar
done done
) )
printf "\nROM image release archives available at release/roms/\n\n" printf "\nROM image release archives available at release/roms/\n\n"