aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-29 20:56:41 +0300
committerCem Keylan <cem@ckyln.com>2020-01-29 20:56:41 +0300
commite6a7080ecc1c03569cf838cd5f0531709a051689 (patch)
tree3a57ba0d316f826e5492e86f21cf2cd7c28e4b13 /core
parentc4c3af9515953df86ab70b4b85ce2fdb3ccaca11 (diff)
downloadrepository-e6a7080ecc1c03569cf838cd5f0531709a051689.tar.gz
revert
Diffstat (limited to 'core')
-rwxr-xr-xcore/gcc/build4
-rwxr-xr-xcore/libelf/build2
-rwxr-xr-xcore/mandoc/build5
3 files changed, 5 insertions, 6 deletions
diff --git a/core/gcc/build b/core/gcc/build
index b0a09ddb..ef0e87db 100755
--- a/core/gcc/build
+++ b/core/gcc/build
@@ -5,8 +5,8 @@ cp -v gcc/gmp/configfsf.guess gcc/gmp/config.guess
cp -v gcc/gmp/configfsf.sub gcc/gmp/config.sub
# Use lib not lib64 by default.
-sed '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64 > t-linux64.bak && mv t-linux64.bak gcc/gcc/config/i386/t-linux64
-sed 's/lib64/lib/' gcc/gcc/config/i386/linux64.h > linux64.h.bak && mv linux64.h.bak gcc/gcc/config/i386/linux64.h
+sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
+sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
# Build must happen outside of gcc source.
mkdir -p gcc-build
diff --git a/core/libelf/build b/core/libelf/build
index 01c1dab2..a7a7f497 100755
--- a/core/libelf/build
+++ b/core/libelf/build
@@ -1,6 +1,6 @@
#!/bin/sh -e
-sed 's/-I/-isystem /g' libelf.pc.in > libelf.pc.in.bak && mv libelf.pc.in.bak libelf.pc.in
+sed -i 's/-I/-isystem /g' libelf.pc.in
./configure \
--prefix=/usr \
diff --git a/core/mandoc/build b/core/mandoc/build
index c04afc3c..11f1bfed 100755
--- a/core/mandoc/build
+++ b/core/mandoc/build
@@ -1,8 +1,7 @@
#!/bin/sh -e
-sed 's,"more -s","less",g' main.c > main.c.bak && mv main.c.bak main.c
-sed "s/CC=.*/CC='$CC'/" configure > configure.bak && mv configure.bak configure
-chmod +x configure
+sed -i 's,"more -s","less",g' main.c
+sed -i "s/CC=.*/CC='$CC'/" configure
cat > configure.local <<EOF
PREFIX=/usr