aboutsummaryrefslogtreecommitdiff
path: root/core/mandoc
diff options
context:
space:
mode:
Diffstat (limited to 'core/mandoc')
-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