aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/xzless.in
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-09-24 23:02:40 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-09-24 23:02:40 +0300
commit43ce4ea7c762238d3df9717b34126d3e0d7cd51c (patch)
tree2aa9175333e45998536742c059ec4319f9457e6d /src/scripts/xzless.in
parentFix comment typos in tuklib_mbstr* files. (diff)
downloadxz-43ce4ea7c762238d3df9717b34126d3e0d7cd51c.tar.xz
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.
Diffstat (limited to 'src/scripts/xzless.in')
-rw-r--r--src/scripts/xzless.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scripts/xzless.in b/src/scripts/xzless.in
index 1b85ad6f..cf61ab29 100644
--- a/src/scripts/xzless.in
+++ b/src/scripts/xzless.in
@@ -15,6 +15,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