diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-06-04 14:57:34 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-06-04 14:57:34 +0000 |
commit | c84619ff9fce6a775a11ea33bc32175591c1584f (patch) | |
tree | 41530734f6a01324bddf5d68528a28ae3a1b80bc /usr.sbin/pkg_add/OpenBSD/SharedLibs.pm | |
parent | 3ecbd34a160f4de0ad5a1f2af518f23766613210 (diff) |
I am on drugs, I don't know where I found split can take strings as
arguments. Repair...
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/SharedLibs.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/SharedLibs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm index 553fd9cfe6c..3fd4663d0c2 100644 --- a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm +++ b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: SharedLibs.pm,v 1.17 2007/06/04 14:40:39 espie Exp $ +# $OpenBSD: SharedLibs.pm,v 1.18 2007/06/04 14:57:33 espie Exp $ # # Copyright (c) 2003-2005 Marc Espie <espie@openbsd.org> # @@ -51,7 +51,7 @@ sub init_path($) local $_; while (<$fh>) { if (m/^\s*search directories:\s*(.*?)\s*$/o) { - for my $d (split(':', $1)) { + for my $d (split(/\:/o, $1)) { $path->{$d} = 1; } } |