diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-02-05 12:29:40 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-02-05 12:30:10 -0200 |
commit | dab351f359bb451d692996f616796284c7e0405d (patch) | |
tree | e3ec8054f5ae3b66f2c841d81b9687332cc18e32 | |
parent | bc30d9c58b91cf6a1e4ad84fa568624bccb1e4b4 (diff) | |
download | pfsense-dab351f359bb451d692996f616796284c7e0405d.zip pfsense-dab351f359bb451d692996f616796284c7e0405d.tar.gz |
escapeshellarg() is not required here
-rw-r--r-- | etc/inc/pkg-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 59eb28d..4f4f5ef 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -567,7 +567,7 @@ function pkg_fetch_recursive($pkgname, $filename, $dependlevel = 0, $base_url = $pkgaddout = ""; - exec("/usr/local/sbin/pbi_add " . escapeshellarg($pkgstaging) . " -f -v --no-checksig " . escapeshellarg($fetchto) . " 2>&1", $pkgaddout); + exec("/usr/local/sbin/pbi_add " . $pkgstaging . " -f -v --no-checksig " . escapeshellarg($fetchto) . " 2>&1", $pkgaddout); pkg_debug($pkgname . " " . print_r($pkgaddout, true) . "\npbi_add successfully completed.\n"); setup_library_paths(); exec("/usr/local/sbin/pbi_info " . escapeshellarg(preg_replace('/\.pbi$/','',$filename)) . " | /usr/bin/awk '/Prefix/ {print $2}'",$pbidir); |