wok rev 25675

zx2/zx1 fix current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 28 11:43:40 2024 +0000 (8 weeks ago)
parents a66f312c374b
children c965782a38e0
files nat-tester/receipt zx1/receipt zx2/receipt
line diff
     1.1 --- a/nat-tester/receipt	Wed Feb 28 11:10:12 2024 +0000
     1.2 +++ b/nat-tester/receipt	Wed Feb 28 11:43:40 2024 +0000
     1.3 @@ -19,7 +19,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - https://github.com/ernestask/linuxNatTester/commits/master 2>/dev/null | \
     1.7 -	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
     1.8 +	sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
     1.9  }
    1.10  
    1.11  # Rules to configure and make the package.
     2.1 --- a/zx1/receipt	Wed Feb 28 11:10:12 2024 +0000
     2.2 +++ b/zx1/receipt	Wed Feb 28 11:43:40 2024 +0000
     2.3 @@ -15,8 +15,8 @@
     2.4  # What is the latest version available today?
     2.5  current_version()
     2.6  {
     2.7 -	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
     2.8 -	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
     2.9 +	wget -O - $WEB_SITE/commits/main 2>/dev/null | \
    2.10 +	sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
    2.11  }
    2.12  
    2.13  # Rules to configure and make the package.
     3.1 --- a/zx2/receipt	Wed Feb 28 11:10:12 2024 +0000
     3.2 +++ b/zx2/receipt	Wed Feb 28 11:43:40 2024 +0000
     3.3 @@ -15,8 +15,8 @@
     3.4  # What is the latest version available today?
     3.5  current_version()
     3.6  {
     3.7 -	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
     3.8 -	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
     3.9 +	wget -O - $WEB_SITE/commits/main 2>/dev/null | \
    3.10 +	sed 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
    3.11  }
    3.12  
    3.13  # Rules to configure and make the package.