aboutsummaryrefslogtreecommitdiff
path: root/core/mandoc/build
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/mandoc/build
parentc4c3af9515953df86ab70b4b85ce2fdb3ccaca11 (diff)
downloadrepository-e6a7080ecc1c03569cf838cd5f0531709a051689.tar.gz
revert
Diffstat (limited to 'core/mandoc/build')
-rwxr-xr-xcore/mandoc/build5
1 files changed, 2 insertions, 3 deletions
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