Start using available coreutils.
This commit is contained in:
parent
d26463ffa2
commit
a833a051ae
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
# Extract
|
# Extract
|
||||||
|
@ -13,9 +14,9 @@ cp ../../mk/builtins.mk builtins/Makefile
|
||||||
cp ../../mk/common.mk common.mk
|
cp ../../mk/common.mk common.mk
|
||||||
|
|
||||||
# Create various .h files
|
# Create various .h files
|
||||||
catm config.h
|
touch config.h
|
||||||
catm include/version.h
|
touch include/version.h
|
||||||
catm include/pipesize.h
|
touch include/pipesize.h
|
||||||
|
|
||||||
# Patch
|
# Patch
|
||||||
patch -Np0 -i ../../patches/mes-libc.patch
|
patch -Np0 -i ../../patches/mes-libc.patch
|
||||||
|
@ -32,7 +33,6 @@ cd ..
|
||||||
make
|
make
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
cp bash /after/bin/
|
install bash /after/bin/
|
||||||
chmod 755 /after/bin/bash
|
|
||||||
|
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
# Extract
|
# Extract
|
||||||
|
@ -14,8 +15,7 @@ cp ../../mk/main.mk Makefile
|
||||||
make
|
make
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
cp grep /after/bin/grep
|
install grep /after/bin/
|
||||||
chmod 755 /after/bin/grep
|
|
||||||
|
|
||||||
# Test
|
# Test
|
||||||
grep --version
|
grep --version
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
# Extract
|
# Extract
|
||||||
|
@ -17,8 +18,7 @@ patch -Np0 -i ../../patches/signal-include.patch
|
||||||
make
|
make
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
cp m4 /after/bin/m4
|
install m4 /after/bin/
|
||||||
chmod 755 /after/bin/m4
|
|
||||||
|
|
||||||
# Test
|
# Test
|
||||||
m4 --version
|
m4 --version
|
||||||
|
|
Loading…
Reference in New Issue