diff options
Diffstat (limited to 'core')
-rwxr-xr-x | core/mandoc/build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/mandoc/build b/core/mandoc/build index 11f1bfed..c04afc3c 100755 --- a/core/mandoc/build +++ b/core/mandoc/build @@ -1,7 +1,8 @@ #!/bin/sh -e -sed -i 's,"more -s","less",g' main.c -sed -i "s/CC=.*/CC='$CC'/" configure +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 cat > configure.local <<EOF PREFIX=/usr |