From 0de12a66a36dcbdd9340bc586acf3de1a3a76013 Mon Sep 17 00:00:00 2001 From: kstailey Date: Thu, 24 Jul 1997 21:12:16 +0000 Subject: respect ``INSTALL_STRIP=-s'' pr 188 --- gnu/usr.bin/perl/installperl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gnu/usr.bin/perl/installperl') diff --git a/gnu/usr.bin/perl/installperl b/gnu/usr.bin/perl/installperl index 14412b4e032..0626c8ff2d1 100644 --- a/gnu/usr.bin/perl/installperl +++ b/gnu/usr.bin/perl/installperl @@ -1,7 +1,7 @@ #!./perl -# $OpenBSD: installperl,v 1.3 1996/08/26 14:06:20 downsj Exp $ +# $OpenBSD: installperl,v 1.4 1996/09/06 17:35:29 downsj Exp $ # -# This is hacked up, in order to support DESTDIR. +# This is hacked up, in order to support DESTDIR and INSTALL_STRIP. # BEGIN { @INC=('./lib', '../lib') } @@ -123,8 +123,11 @@ if (! &samepath($installbin, '.')) { } if (! &samepath($installbin, 'x2p')) { + $installcmd = $ENV{"INSTALL"} + . " " . $ENV{"INSTALL_COPY"} + . " " . $ENV{"INSTALL_STRIP"}; &safe_unlink("$installbin/a2p$exe_ext"); - &cmd("cp x2p/a2p$exe_ext $installbin/a2p$exe_ext"); + &cmd("$installcmd x2p/a2p$exe_ext $installbin"); &chmod(0755, "$installbin/a2p$exe_ext"); } -- cgit v1.2.3