summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-03 08:46:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-03 08:46:17 +0000
commite066c6a8cbfbeac50eca52f208aad372e1ee904d (patch)
tree26287c6b386fe5c289eac82f4e2b82af86722864 /main.c
parent7355c805552e6fc47e10d976711b6169f0f3c0e0 (diff)
downloadmandoc-e066c6a8cbfbeac50eca52f208aad372e1ee904d.tar.gz
No need to hardcode /usr/bin/ as the path to more(1); helps portability.
We don't hardcode the paths to gunzip(1) and cmp(1) either. Discussed with ajacoutot@.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 166dcf6b..8068d3d5 100644
--- a/main.c
+++ b/main.c
@@ -997,7 +997,7 @@ spawn_pager(void)
if (pager == NULL || *pager == '\0')
pager = getenv("PAGER");
if (pager == NULL || *pager == '\0')
- pager = "/usr/bin/more -s";
+ pager = "more -s";
cp = mandoc_strdup(pager);
/*