[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 15/18] packages: roms: release: unify whitespaces.
From: |
Denis 'GNUtoo' Carikli |
Subject: |
[PATCH v1 15/18] packages: roms: release: unify whitespaces. |
Date: |
Fri, 29 Nov 2024 20:14:29 +0100 |
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>
---
resources/packages/roms/release | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/resources/packages/roms/release b/resources/packages/roms/release
index af0cf69b..ce15abce 100755
--- a/resources/packages/roms/release
+++ b/resources/packages/roms/release
@@ -3,7 +3,7 @@
#
# 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
# it under the terms of the GNU General Public License as published by
@@ -29,11 +29,11 @@ projectname="$(cat projectname)"
version="version-unknown"
if [ -f version ]; then
- version="$(cat version)"
+ version="$(cat version)"
fi
versiondate="version-date-unknown"
if [ -f versiondate ]; then
- versiondate="$(cat versiondate)"
+ versiondate="$(cat versiondate)"
fi
if [ ! -d "bin/" ]; then
@@ -57,14 +57,13 @@ printf "Building ROM image archives for version %s\n"
"${version}"
fi
printf "Generating release/roms/%s-%s_%s.tar.xz\n" "${projectname}"
"${version}" "${target##*/}"
- printf "%s\n" "${version}" > "${target}/version"
- printf "%s\n" "${versiondate}" > "${target}/versiondate"
- printf "%s\n" "${projectname}" > "${target}/projectname"
- rm -f ../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar
- tar -cf
../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar "${target}/"
+ printf "%s\n" "${version}" > "${target}/version"
+ printf "%s\n" "${versiondate}" > "${target}/versiondate"
+ printf "%s\n" "${projectname}" > "${target}/projectname"
+ rm -f ../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar
+ tar -cf
../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar "${target}/"
xz -vv -9e -f
../release/roms/"${projectname}"-"${version}"_"${target##*/}".tar
done
)
printf "\nROM image release archives available at release/roms/\n\n"
-
--
2.46.0
- [PATCH v1 11/18] dependencies: pureos-trisquel: Add texlive for the website., (continued)
- [PATCH v1 11/18] dependencies: pureos-trisquel: Add texlive for the website., Denis 'GNUtoo' Carikli, 2024/11/29
- [PATCH v1 13/18] packages: images: tests: add Trisquel test with SeaBIOS., Denis 'GNUtoo' Carikli, 2024/11/29
- [PATCH v1 18/18] website: status: mention reproducible builds status., Denis 'GNUtoo' Carikli, 2024/11/29
- [PATCH v1 17/18] packages: images: tests: require essential cbfs files., Denis 'GNUtoo' Carikli, 2024/11/29
- [PATCH v1 06/18] resources: dependencies: pureos: switch to install_packages., Denis 'GNUtoo' Carikli, 2024/11/29
- [PATCH v1 12/18] dependencies: pureos-trisquel: Add texlive-plain-generic for the website., Denis 'GNUtoo' Carikli, 2024/11/29
- [PATCH v1 10/18] dependencies: pureos-trisquel: Add texinfo for the website., Denis 'GNUtoo' Carikli, 2024/11/29
- [PATCH v1 09/18] dependencies: pureos-trisquel: Add graphicsmagick for the website., Denis 'GNUtoo' Carikli, 2024/11/29
- [PATCH v1 14/18] packages: images: tests: fix whitespace issue., Denis 'GNUtoo' Carikli, 2024/11/29
- [PATCH v1 15/18] packages: roms: release: unify whitespaces.,
Denis 'GNUtoo' Carikli <=
- [PATCH v1 16/18] packages: roms: release: fix line length., Denis 'GNUtoo' Carikli, 2024/11/29