public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 62d9b7bd2c347bb45714d68fb6eb1408e3d7142a
@ 2022-04-04 16:05 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2022-04-04 16:05 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 1968 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  62d9b7bd2c347bb45714d68fb6eb1408e3d7142a (commit)
      from  dcb3c4aaac5f572f0198d09a504b1cd8103d77b6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 62d9b7bd2c347bb45714d68fb6eb1408e3d7142a
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Mon Apr 4 16:03:18 2022 +0000

    Config: Fix calling b2sum
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 lfs/Config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Difference in files:
diff --git a/lfs/Config b/lfs/Config
index d4de6550b..1d02e969c 100644
--- a/lfs/Config
+++ b/lfs/Config
@@ -347,13 +347,13 @@ endef
 define LOAD
 	@echo -e "$(MESSAGE)Download: $($(notdir $@))"
 	wget -T 60 -t 1 -nv -U "IPFireSourceGrabber/2.x" $($(notdir $@)) -O $(DIR_TMP)/$(notdir $@)
-	[ "$($(notdir $@)_BLAKE2)" = "$(firstword $(shell b2sum $(DIR_TMP)/$(notdir $@)))" ] # detect page not found answer
+	[ "$($(notdir $@)_BLAKE2)" = "$$(b2sum $(DIR_TMP)/$(notdir $@) | awk '{ print $$1 }')" ] # detect page not found answer
 	mv $(DIR_TMP)/$(notdir $@) $(DIR_DL)
 endef
 
 define B2SUM
 	# error mean file signature don't match the one in lfs script
-	[ "$($@_BLAKE2)" = "$(firstword $(shell b2sum $(DIR_DL)/$@))" ] && echo "$@ checksum OK"
+	[ "$($@_BLAKE2)" = "$$(b2sum $(DIR_DL)/$@ | awk '{ print $$1 }')" ] && echo "$@ checksum OK"
 endef
 
 define PAK


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-04 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-04 16:05 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 62d9b7bd2c347bb45714d68fb6eb1408e3d7142a Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox