diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2014-03-06 08:58:44 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2014-03-06 08:58:44 +0000 |
commit | 6541b7dcdd963623c50ed9c52f46c6b02d141cb2 (patch) | |
tree | 61a2ff36d9461af214905b9ae86935800ba1c84c /usr.bin/libtool/LT | |
parent | a53b234795e3fce679748efe5c44bc956e609eb1 (diff) |
Also accept "install-check" as an install script. This part will
probably be reworked and simplified in the future anyway...
ok espie@
Diffstat (limited to 'usr.bin/libtool/LT')
-rw-r--r-- | usr.bin/libtool/LT/LaFile.pm | 4 | ||||
-rw-r--r-- | usr.bin/libtool/LT/Mode/Install.pm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/libtool/LT/LaFile.pm b/usr.bin/libtool/LT/LaFile.pm index df3051a2c4d..ad04fd31532 100644 --- a/usr.bin/libtool/LT/LaFile.pm +++ b/usr.bin/libtool/LT/LaFile.pm @@ -1,4 +1,4 @@ -# $OpenBSD: LaFile.pm,v 1.19 2012/07/13 13:45:34 espie Exp $ +# $OpenBSD: LaFile.pm,v 1.20 2014/03/06 08:58:43 ajacoutot Exp $ # Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org> # Copyright (c) 2012 Marc Espie <espie@openbsd.org> @@ -157,7 +157,7 @@ sub install my @opts = @$instopts; my @stripopts = ('--strip-debug'); - if ($$instprog[-1] =~ m/install([.-]sh)?$/) { + if ($$instprog[-1] =~ m/install([.-](sh|check))?$/) { push @opts, '-m', '644'; } diff --git a/usr.bin/libtool/LT/Mode/Install.pm b/usr.bin/libtool/LT/Mode/Install.pm index e98cd251686..685846f84be 100644 --- a/usr.bin/libtool/LT/Mode/Install.pm +++ b/usr.bin/libtool/LT/Mode/Install.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Install.pm,v 1.5 2012/07/09 10:52:26 espie Exp $ +# $OpenBSD: Install.pm,v 1.6 2014/03/06 08:58:43 ajacoutot Exp $ # # Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org> # Copyright (c) 2012 Marc Espie <espie@openbsd.org> @@ -42,7 +42,7 @@ sub run my @argvcopy = @ARGV; my %install_opts; tsay {"ltprog[-1] = $$ltprog[-1]"}; - if ($$ltprog[-1] =~ m/install([.-]sh)?$/) { + if ($$ltprog[-1] =~ m/install([.-](sh|check))?$/) { getopts('BbCcdf:g:m:o:pSs', \%install_opts); if (@ARGV < 2 && (!defined $install_opts{'d'} && @ARGV == 1)) { die "Wrong number of arguments for install\n"; |