From 0b75eedffdde04bf92a056eef5c4eb0daf473312 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 10 Feb 2014 09:47:18 -0800 Subject: [PATCH] Don't rely on backquote_command to split lines --- software/freebsd-lib.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/software/freebsd-lib.pl b/software/freebsd-lib.pl index 95a0a0348..72337dec1 100755 --- a/software/freebsd-lib.pl +++ b/software/freebsd-lib.pl @@ -22,7 +22,8 @@ $package_dir = "/var/db/pkg"; sub use_pkg_ng { return 0 if (!-x "/usr/sbin/pkg"); -local @lines = &backquote_command("/usr/sbin/pkg info 2>/dev/null /dev/null 1 ? 1 : 0; }