diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-22 20:14:48 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-22 20:14:48 +0000 |
commit | 27d671c82276858d2512391a984c6f5513c708df (patch) | |
tree | 4679faed5eadc690183b4aede6dd77b3e999db33 /etc/inc/pkg-utils.inc | |
parent | ffe8bac2a4e189130170c99c62354ecf62c1fab7 (diff) | |
download | pfsense-27d671c82276858d2512391a984c6f5513c708df.zip pfsense-27d671c82276858d2512391a984c6f5513c708df.tar.gz |
Correct variable
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-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 748497e..dfa7f81 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -170,7 +170,7 @@ function get_pkg_depends($pkg_name, $filetype = ".xml", $format = "files", $retu if (($return_nosync == 0) && (isset($item['nosync']))) continue; // Do not return depends with nosync set if not required. $depend_file = substr(strrchr($item['item']['0'], '/'),1); // Strip URLs down to filenames. $depend_name = substr(substr($depend_file,0,strpos($depend_file,".")+1),0,-1); // Strip filename down to dependency name. - if (($filetype != "all") && (!preg_match("/${filetype}/i", $depend_file))) continue; + if (($filetype != "all") && (!preg_match("/{$filetype}/i", $depend_file))) continue; if ($item['prefix'] != "") { $prefix = $item['prefix']; } else { |