diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2013-04-26 21:45:27 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2013-04-26 21:45:27 -0400 |
commit | a368b7046816d474ed50187ad2335da47be34272 (patch) | |
tree | b981b7454131ec5c00079ec93fb380042151032d | |
parent | 6b52a44fc8771c2d8024016e98dd3c1c6e6bad4b (diff) | |
download | pfsense-packages-a368b7046816d474ed50187ad2335da47be34272.tar.gz pfsense-packages-a368b7046816d474ed50187ad2335da47be34272.tar.bz2 pfsense-packages-a368b7046816d474ed50187ad2335da47be34272.zip |
Fix one more set of missing {} around string var in quotes
-rwxr-xr-x | config/snort/snort_check_for_rule_updates.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php index 858267d1..f69c3b98 100755 --- a/config/snort/snort_check_for_rule_updates.php +++ b/config/snort/snort_check_for_rule_updates.php @@ -390,13 +390,13 @@ if ($snortdownload == 'on') { /* extract so rules */ update_status(gettext("Extracting Snort VRT Shared Objects rules...")); - exec('/bin/mkdir -p {$snortlibdir}/dynamicrules/'); + exec("/bin/mkdir -p {$snortlibdir}/dynamicrules/"); error_log(gettext("\tUsing Snort VRT precompiled SO rules for {$freebsd_version_so} ...\n"), 3, $snort_rules_upd_log); $snort_arch = php_uname("m"); $nosorules = false; if ($snort_arch == 'i386'){ exec("/usr/bin/tar xzf {$tmpfname}/{$snort_filename} -C {$snortdir}/tmp so_rules/precompiled/{$freebsd_version_so}/i386/{$snort_version}/"); - exec("/bin/cp {$snortdir}/tmp/so_rules/precompiled/$freebsd_version_so/i386/{$snort_version}/* {$snortlibdir}/dynamicrules/"); + exec("/bin/cp {$snortdir}/tmp/so_rules/precompiled/{$freebsd_version_so}/i386/{$snort_version}/* {$snortlibdir}/dynamicrules/"); } elseif ($snort_arch == 'amd64') { exec("/usr/bin/tar xzf {$tmpfname}/{$snort_filename} -C {$snortdir}/tmp so_rules/precompiled/{$freebsd_version_so}/x86-64/{$snort_version}/"); exec("/bin/cp {$snortdir}/tmp/so_rules/precompiled/{$freebsd_version_so}/x86-64/{$snort_version}/* {$snortlibdir}/dynamicrules/"); |