aboutsummaryrefslogtreecommitdiff
path: root/runc/abuild
diff options
context:
space:
mode:
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"
}