summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2012-07-08 09:36:40 +0000
committerjasper <jasper@openbsd.org>2012-07-08 09:36:40 +0000
commit2fa24231604943f3272f764b9c710eec5b88920b (patch)
treeb2208b03e2a55e37ac98deb2ed6894dda9e412c2
parent- move noshared handling to LT::OSConfig (diff)
downloadwireguard-openbsd-2fa24231604943f3272f764b9c710eec5b88920b.tar.xz
wireguard-openbsd-2fa24231604943f3272f764b9c710eec5b88920b.zip
- remove some unneeded quotes
-rw-r--r--usr.bin/libtool/LT/LaFile.pm6
-rw-r--r--usr.bin/libtool/LT/Trace.pm6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/libtool/LT/LaFile.pm b/usr.bin/libtool/LT/LaFile.pm
index 583f48b197f..38f77b5f3f7 100644
--- a/usr.bin/libtool/LT/LaFile.pm
+++ b/usr.bin/libtool/LT/LaFile.pm
@@ -1,4 +1,4 @@
-# $OpenBSD: LaFile.pm,v 1.5 2012/07/06 11:30:41 espie Exp $
+# $OpenBSD: LaFile.pm,v 1.6 2012/07/08 09:36:40 jasper Exp $
# Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org>
# Copyright (c) 2012 Marc Espie <espie@openbsd.org>
@@ -108,10 +108,10 @@ sub write_shared_libs_log
my ($self, $origv) = @_;
my $libname = $self->stringize('libname');
my $v = $self->stringize('current') .'.'. $self->stringize('revision');
- if (!defined $ENV{'SHARED_LIBS_LOG'}) {
+ if (!defined $ENV{SHARED_LIBS_LOG}) {
return;
}
- my $logfile = $ENV{'SHARED_LIBS_LOG'};
+ my $logfile = $ENV{SHARED_LIBS_LOG};
my $fh;
if (! -f $logfile) {
open ($fh, '>', $logfile);
diff --git a/usr.bin/libtool/LT/Trace.pm b/usr.bin/libtool/LT/Trace.pm
index 685c56cfdea..2073b3ca74b 100644
--- a/usr.bin/libtool/LT/Trace.pm
+++ b/usr.bin/libtool/LT/Trace.pm
@@ -1,4 +1,4 @@
-# $OpenBSD: Trace.pm,v 1.3 2012/07/06 11:30:41 espie Exp $
+# $OpenBSD: Trace.pm,v 1.4 2012/07/08 09:36:40 jasper Exp $
# Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org>
# Copyright (c) 2012 Marc Espie <espie@openbsd.org>
@@ -26,10 +26,10 @@ our @EXPORT = qw(tprint tsay);
sub print(&)
{
my $val = shift;
- if (defined $ENV{'TRACE_LIBTOOL'}) {
+ if (defined $ENV{TRACE_LIBTOOL}) {
state $trace_file;
if (!defined $trace_file) {
- open $trace_file, '>>', $ENV{'TRACE_LIBTOOL'};
+ open $trace_file, '>>', $ENV{TRACE_LIBTOOL};
}
if (defined $trace_file) {
print $trace_file (&$val);