diff options
author | Cem Keylan <cem@ckyln.com> | 2020-01-29 20:05:11 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-01-29 20:05:11 +0300 |
commit | 9086ea518e6642610c3ebe8404825df4f895171c (patch) | |
tree | 3dc603e14cdba23299610938b3852f0c10504f5b | |
parent | 65e4bd520e062177a59b5bf3d3bdf85d6d032cab (diff) | |
download | repository-9086ea518e6642610c3ebe8404825df4f895171c.tar.gz |
mandoc: remove -i from sed on build
-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 |