commit: a833a051ae2e3e71d8f6d112c01abf554d84a356
parent d26463ffa21441345379018e04e67fc6efb2f2aa
Author: Andrius Štikonas <andrius@stikonas.eu>
Date: Wed, 20 Jan 2021 19:25:44 +0000
Start using available coreutils.
Diffstat:
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/sysa/bash-2.05b/bash-2.05b.kaem b/sysa/bash-2.05b/bash-2.05b.kaem
@@ -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 ../..
diff --git a/sysa/bash-2.05b/build/.placeholder b/sysa/bash-2.05b/build/.placeholder
diff --git a/sysa/grep-2.4/grep-2.4.kaem b/sysa/grep-2.4/grep-2.4.kaem
@@ -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
diff --git a/sysa/m4-1.4/build/.placeholder b/sysa/m4-1.4/build/.placeholder
diff --git a/sysa/m4-1.4/m4-1.4.kaem b/sysa/m4-1.4/m4-1.4.kaem
@@ -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