This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 98ea823dcb3ea2cd3bf7fdd89ee93334bd662641
Author: Mihai Moldovan <io...@ionic.de>
Date:   Thu Mar 7 12:16:22 2024 +0100

    bin/debian-codename-to-version.sh: use single quotes where appropriate.
    
    No functional changes.
---
 bin/debian-codename-to-version.sh | 40 +++++++++++++++++++--------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/bin/debian-codename-to-version.sh 
b/bin/debian-codename-to-version.sh
index 3c502fd..d13169a 100755
--- a/bin/debian-codename-to-version.sh
+++ b/bin/debian-codename-to-version.sh
@@ -38,13 +38,13 @@ if [ -z "${BASH_VERSINFO[0]}" ] || [ "${BASH_VERSINFO[0]}" 
-lt 4 ]; then
        codename="$(tr '[:upper:]' '[:lower:]' <<< "${codename}")"
 fi
 
-typeset -i ret="0"
+typeset -i ret='0'
 
 case "${codename}" in
        # The first version number is actually "fake",
        # but given it's a rolling release,
        # we can't really do better here.
-       ("sid"|"unstable") echo "9999";;
+       ('sid'|'unstable') echo '9999';;
 
        # FIXME: add "testing" - but how? It's not really
        # a stable release on its own, but a rolling
@@ -66,26 +66,26 @@ case "${codename}" in
        # For now and due to the aforementioned problems,
        # I decided to not handle the "testing" code name
        # at all.
-       ("bookworm") echo "12";;
+       ('bookworm') echo '12';;
 
-       ("bullseye") echo "11";;
-       ("buster") echo "10";;
-       ("stretch") echo "9";;
-       ("jessie") echo "8";;
-       ("wheezy") echo "7";;
-       ("squeeze") echo "6";;
-       ("lenny") echo "5";;
-       ("etch") echo "4";;
-       ("sarge") echo "3.1";;
-       ("woody") echo "3.0";;
-       ("potato") echo "2.2";;
-       ("slink") echo "2.1";;
-       ("hamm") echo "2.0";;
-       ("bo") echo "1.3";;
-       ("rex") echo "1.2";;
-       ("buzz") echo "1.1";;
+       ('bullseye') echo '11';;
+       ('buster') echo '10';;
+       ('stretch') echo '9';;
+       ('jessie') echo '8';;
+       ('wheezy') echo '7';;
+       ('squeeze') echo '6';;
+       ('lenny') echo '5';;
+       ('etch') echo '4';;
+       ('sarge') echo '3.1';;
+       ('woody') echo '3.0';;
+       ('potato') echo '2.2';;
+       ('slink') echo '2.1';;
+       ('hamm') echo '2.0';;
+       ('bo') echo '1.3';;
+       ('rex') echo '1.2';;
+       ('buzz') echo '1.1';;
 
-       (*) ret="1";;
+       (*) ret='1';;
 esac
 
 exit "${ret}"

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/buildscripts.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to