diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-11-02 14:50:52 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-11-02 14:50:52 -0400 |
commit | 764bd0ac2751c037a4980a6adab02e69df614758 (patch) | |
tree | 6b65e236e4808171cd12ccf7abced98f5d15de94 /etc | |
parent | e3db5627224a0293f74e0d032a9b230f98f85952 (diff) | |
download | pfsense-764bd0ac2751c037a4980a6adab02e69df614758.zip pfsense-764bd0ac2751c037a4980a6adab02e69df614758.tar.gz |
Download correct filenames
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index c4396f0..3f238ec 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -474,8 +474,8 @@ function sync_package($pkg_name, $sync_depends = true, $show_message = false) { function pkg_fetch_recursive($pkgname, $filename, $dependlevel = 0, $base_url = "") { global $static_output, $g; - $pkgs = split(" ", $pkgname); - foreach($pkgs as $pkgname) { + $pkgs = split(" ", $filename); + foreach($pkgs as $filename) { if (($g['platform'] == "nanobsd") || ($g['platform'] == "embedded")) { $pkgtmpdir = "/usr/bin/env PKG_TMPDIR=/root/ "; $pkgstagingdir = "/root/tmp"; |