From c9a8071e6690a8db8a485c075920df254e7c70ea Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 24 Sep 2019 23:02:40 +0300 Subject: Scripts: Put /usr/xpg4/bin to the beginning of PATH on Solaris. This adds a configure option --enable-path-for-scripts=PREFIX which defaults to empty except on Solaris it is /usr/xpg4/bin to make POSIX grep and others available. The Solaris case had been documented in INSTALL with a manual fix but it's better to do this automatically since it is needed on most Solaris systems anyway. Thanks to Daniel Richard G. --- src/scripts/xzgrep.in | 1 + 1 file changed, 1 insertion(+) (limited to 'src/scripts/xzgrep.in') diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in index a570a905..9db5c3a8 100644 --- a/src/scripts/xzgrep.in +++ b/src/scripts/xzgrep.in @@ -18,6 +18,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +@enable_path_for_scripts@ #SET_PATH - This line is a placeholder to ease patching this script. # Instead of unsetting XZ_OPT, just make sure that xz will use file format -- cgit v1.2.3