diff options
author | 2015-04-03 08:46:17 +0000 | |
---|---|---|
committer | 2015-04-03 08:46:17 +0000 | |
commit | ce80f29eb86a1f958baafc25458619fe6b17112f (patch) | |
tree | 5858586cb92996632f7a9d7107e99690aa7b6359 /main.c | |
parent | 56db51154e503662dc8c9cfed83c0bc0172a3f82 (diff) | |
download | mandoc-ce80f29eb86a1f958baafc25458619fe6b17112f.tar.gz mandoc-ce80f29eb86a1f958baafc25458619fe6b17112f.tar.zst mandoc-ce80f29eb86a1f958baafc25458619fe6b17112f.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.231 2015/04/02 21:36:49 schwarze Exp $ */ +/* $Id: main.c,v 1.232 2015/04/03 08:46:17 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -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); /* |