[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 07/14] scripts: misc: guix.sh: fix last version detection.
From: |
Adrien 'neox' Bourmault |
Subject: |
Re: [PATCH v1 07/14] scripts: misc: guix.sh: fix last version detection. |
Date: |
Mon, 29 Apr 2024 15:51:49 +0200 |
User-agent: |
Evolution 3.48.4 |
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
resources/scripts/misc/guix.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/resources/scripts/misc/guix.sh b/resources/scripts/misc/guix.sh
index 43f83f3..d8aad1f 100755
--- a/resources/scripts/misc/guix.sh
+++ b/resources/scripts/misc/guix.sh
@@ -271,10 +271,11 @@ is_latest_release()
return ${true}
elif [ -n "$(echo ${revision} | grep '\.')" ] ; then
return ${false}
- else
- git --no-pager -C "$(guix_checkout)" tag --merged "${revision}" | \
- grep "^v${guix_latest_release}$" > /dev/null
+ elif git --no-pager -C "$(guix_checkout)" tag --merged "${revision}" | \
+ grep "^v${guix_latest_release}$" > /dev/null ; then
return ${true}
+ else
+ return ${false}
fi
}
--
2.41.0
- Re: [PATCH v1 14/14] Build bucts and patched flashrom for I945 ThinkPads with Guix., (continued)
- [PATCH v1 12/14] Add topdir ./configure., Denis 'GNUtoo' Carikli, 2024/04/19
- Re: Guix integration and various other patches., Leah Rowe, 2024/04/19
- Re: Guix integration and various other patches., Adrien 'neox' Bourmault, 2024/04/20
- Re: Guix integration and various other patches., Adrien 'neox' Bourmault, 2024/04/20
- Re: [PATCH v1 04/14] build instructions: Mention exact package names for debootstrap., Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 05/14] build instructions: debootstrap: Add Guix., Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 02/14] docs/install: replace Libreboot with GNUBoot, Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 07/14] scripts: misc: guix.sh: fix last version detection.,
Adrien 'neox' Bourmault <=
- Re: [PATCH v1 12/14] Add topdir ./configure., Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 10/14] gitignore: sort rules., Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 03/14] docs/install: Don't officially support T60 with ATI GPUs., Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 08/14] scripts: misc: guix.sh: make it pass shellcheck., Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 13/14] Makefile.am: Document commands from site/docs/build/index.md., Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 14/14] Build bucts and patched flashrom for I945 ThinkPads with Guix., Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 01/14] site: status: Add upstream software versions., Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 06/14] scripts: misc: guix.sh: fix forgetten tab., Adrien 'neox' Bourmault, 2024/04/29
- Re: [PATCH v1 11/14] gitignore: don't ignore .scm files., Adrien 'neox' Bourmault, 2024/04/29