diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-17 19:13:59 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-17 19:13:59 +0000 |
commit | e8c24a34e8d5b58a56602041fd2fc405757d77c8 (patch) | |
tree | 681d1b1ed70c9e3bb1a403ce12b0c8e7b9015f7c /usr.bin/xinstall/install.1 | |
parent | ab2e5ab11a81ae2b4efe76e1181156baf73460b2 (diff) |
Add support for STRIP environment variable to specify where strip(1)
lives. Idea from NetBSD.
Diffstat (limited to 'usr.bin/xinstall/install.1')
-rw-r--r-- | usr.bin/xinstall/install.1 | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/usr.bin/xinstall/install.1 b/usr.bin/xinstall/install.1 index ff056abc606..38aaf1f11ed 100644 --- a/usr.bin/xinstall/install.1 +++ b/usr.bin/xinstall/install.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: install.1,v 1.4 1996/08/08 20:49:27 millert Exp $ +.\" $OpenBSD: install.1,v 1.5 1997/04/17 19:13:55 millert Exp $ .\" $NetBSD: install.1,v 1.4 1994/11/14 04:57:17 jtc Exp $ .\" .\" Copyright (c) 1987, 1990, 1993 @@ -121,9 +121,11 @@ rename fails, the existing target is left untouched. .It Fl s .Nm Install exec's the command -.Xr strip 1 +.Pa /usr/bin/strip to strip binaries so that install can be portable over a large -number of systems and binary types. +number of systems and binary types. If the environment variable +.Ev STRIP +is set, it is used instead. .El .Pp By default, @@ -155,6 +157,15 @@ option, temporary files named INS@XXXXXX, where XXXXXX is decided by .Xr mkstemp 3 , are created in the target directory. +.Sh ENVIRONMENT +.Nm +utilizes the following environment variables. +.Bl -tag -width "STRIP" +.It Ev STRIP +For an alternate +.Xr strip 1 +program to run. Default is +.Pa /usr/bin/strip . .Sh SEE ALSO .Xr chflags 1 , .Xr chgrp 1 , |