aboutsummaryrefslogtreecommitdiff
path: root/runc/abuild
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-09-12 22:13:38 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-09-12 22:13:38 +0000
commitc4e5c7cc50016d6c430e657d0be6360abeafb136 (patch)
treef0aad5473bac03a698919ef4e51a1b8f5f84fffd /runc/abuild
parentc13718ffd144e23a396ef96dea1e3659a02443ff (diff)
downloadalicelinux-c4e5c7cc50016d6c430e657d0be6360abeafb136.tar.gz
alicelinux-c4e5c7cc50016d6c430e657d0be6360abeafb136.zip
Woodpecker CI e1b7cab09287da4b0b4103793e72252389e23250 [SKIP CI]
Diffstat (limited to 'runc/abuild')
-rw-r--r--runc/abuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/runc/abuild b/runc/abuild
index 612a44c6..992494a1 100644
--- a/runc/abuild
+++ b/runc/abuild
@@ -11,8 +11,12 @@ build() {
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-trimpath -mod=readonly -modcacherw"
- make runc man
- install -Dm755 runc "$PKG/usr/bin/runc"
+ make SHELL=/bin/sh runc
+ install -Dm755 runc "$PKG/usr/bin/runc"
+ cd man
+ sed -i 's/bash/sh/' md2man-all.sh
+ sed -i '/^cd/d' md2man-all.sh
+ ./md2man-all.sh
install -d "$PKG/usr/share/man/man8"
- install -m644 man/man8/*.8 "$PKG/usr/share/man/man8"
+ install -m644 man8/*.8 "$PKG/usr/share/man/man8"
}