commit 45ba4cc

chld  ·  2026-08-29 20:14:49 +0000 UTC
parent c341aa8
toybox: idk
1 files changed,  +4, -2
+4, -2
 1@@ -2,10 +2,12 @@
 2 NAME=toybox
 3 VERSION=git
 4 RELEASE=1
 5-SOURCE="https://github.com/landley/toybox.git
 6-	POSIX.patch"
 7+SOURCE="https://github.com/landley/toybox.git"
 8 BUILD_STYLE=gmake
 9 build(){
10+    for i in `find . -type f`; do
11+	sed -i 's/bash/sh/g' $i
12+    done
13     gmake CC='cc -static' CFLAGS='-static' LDFLAGS='-static' defconfig || die "defconfig failed"
14     gmake CC='cc -static' CFLAGS='-static' LDFLAGS='-static' PREFIX="$PKG" || die "gmake failed"
15     gmake CC='cc -static' CFLAGS='-static' LDFLAGS='-static' DESTDIR="$PKG" install || die "install failed"