Start using available coreutils.

This commit is contained in:
Andrius Štikonas 2021-01-20 19:25:44 +00:00
parent d26463ffa2
commit a833a051ae
5 changed files with 9 additions and 9 deletions

View File

@ -2,6 +2,7 @@
set -ex
mkdir build
cd build
# Extract
@ -13,9 +14,9 @@ cp ../../mk/builtins.mk builtins/Makefile
cp ../../mk/common.mk common.mk
# Create various .h files
catm config.h
catm include/version.h
catm include/pipesize.h
touch config.h
touch include/version.h
touch include/pipesize.h
# Patch
patch -Np0 -i ../../patches/mes-libc.patch
@ -32,7 +33,6 @@ cd ..
make
# Install
cp bash /after/bin/
chmod 755 /after/bin/bash
install bash /after/bin/
cd ../..

4
sysa/grep-2.4/grep-2.4.kaem Normal file → Executable file
View File

@ -2,6 +2,7 @@
set -ex
mkdir build
cd build
# Extract
@ -14,8 +15,7 @@ cp ../../mk/main.mk Makefile
make
# Install
cp grep /after/bin/grep
chmod 755 /after/bin/grep
install grep /after/bin/
# Test
grep --version

View File

@ -2,6 +2,7 @@
set -ex
mkdir build
cd build
# Extract
@ -17,8 +18,7 @@ patch -Np0 -i ../../patches/signal-include.patch
make
# Install
cp m4 /after/bin/m4
chmod 755 /after/bin/m4
install m4 /after/bin/
# Test
m4 --version