diff options
author | jim-p <jimp@pfsense.org> | 2011-11-10 10:35:34 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-11-10 10:35:34 -0500 |
commit | 2176219846f5fb5d6eff14fe8d66dd0b3dcdbe0c (patch) | |
tree | d4a34dac70d691aafedba5a6f661d987f60fadaf /etc/inc | |
parent | 7aaabd69b0dabc83fc535525bfd6200c3dd67245 (diff) | |
download | pfsense-2176219846f5fb5d6eff14fe8d66dd0b3dcdbe0c.zip pfsense-2176219846f5fb5d6eff14fe8d66dd0b3dcdbe0c.tar.gz |
Trim filename before use to clear away any unnecessary whitespace. Fixes client export package install (and probably others)
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 357e9c9..95de0f7 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -481,6 +481,7 @@ function pkg_fetch_recursive($pkgname, $filename, $dependlevel = 0, $base_url = $pkgs = split(" ", $filename); foreach($pkgs as $filename) { + $filename = trim($filename); if (($g['platform'] == "nanobsd") || ($g['platform'] == "embedded")) { $pkgtmpdir = "/usr/bin/env PKG_TMPDIR=/root/ "; $pkgstagingdir = "/root/tmp"; |