commit 112ce5d
hovercats
·
2024-05-14 05:12:50 +0000 UTC
parent b26463b
go: 1.22.3
4 files changed,
+10,
-10
+2,
-2
1@@ -1,2 +1,2 @@
2-c354c8fc216f0b648156d23282c6af112e7b67d89ea8a10187db5733a148ab1131
3-585d692abfbd838f1bbad8b261bf4b262fcbf721939df07d5f3d1cb98f56e04c6e
4+698843a0c4ab9809f97b40f85b89e3e109696171f73348f27021bf45f702b17e50
5+2763ff2b000cd7b1fd080aed63933e0f92eecc4debcfb349b08261613e545af5a2
1@@ -1,6 +1,6 @@
2-From c5be8dadf89e66a355564f682a13b088d38563d8 Mon Sep 17 00:00:00 2001
3+From 2a412d83fc519ab0c1ef5dc5aab4431a46315706 Mon Sep 17 00:00:00 2001
4 From: hovercats <hovercatswithlasereyes@protonmail.com>
5-Date: Thu, 2 May 2024 18:51:08 +0200
6+Date: Tue, 14 May 2024 06:55:43 +0200
7 Subject: [PATCH] use POSIX sh and remove some bashism
8
9 ---
10@@ -8,7 +8,7 @@ Subject: [PATCH] use POSIX sh and remove some bashism
11 1 file changed, 4 insertions(+), 2 deletions(-)
12
13 diff --git a/src/make.bash b/src/make.bash
14-index 755b3b0..4a14dcb 100755
15+index 76ad516..73f5a26 100755
16 --- a/src/make.bash
17 +++ b/src/make.bash
18 @@ -1,4 +1,4 @@
19@@ -23,10 +23,10 @@ index 755b3b0..4a14dcb 100755
20 export GOROOT="$(cd .. && pwd)"
21 -IFS=$'\n'; for go_exe in $(type -ap go); do
22 +for go_exe in $(command -v go); do
23- if [ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]; then
24+ if [[ ! -x "$GOROOT_BOOTSTRAP/bin/go" ]]; then
25 goroot=$(GOROOT= nogoenv "$go_exe" env GOROOT)
26- if [ "$goroot" != "$GOROOT" ]; then
27-@@ -198,7 +198,9 @@ if [ "$GOROOT_BOOTSTRAP" = "$GOROOT" ]; then
28+ if [[ "$goroot" != "$GOROOT" ]]; then
29+@@ -198,7 +198,9 @@ if [[ "$GOROOT_BOOTSTRAP" == "$GOROOT" ]]; then
30 exit 1
31 fi
32 rm -f cmd/dist/dist
+1,
-1
1@@ -1,2 +1,2 @@
2-https://golang.org/dl/go1.21.6.src.tar.gz
3+https://golang.org/dl/go1.22.3.src.tar.gz
4 patches/0001-use-POSIX-sh-and-remove-some-bashism.patch
+1,
-1
1@@ -1 +1 @@
2-1.21.6 1
3+1.22.3 1