Summary
Description: Unnamed repository; edit this file to name it for gitweb.
Last Change: Wed 2/3/10 13:04
Recent Commits
>
--git a/pts-core/functions/pts-functions-install.php b/pts-core/functions/pts-functions-install.php
index d7bbd8b..36c8df1 100644
--- a/pts-core/functions/pts-functions-install.php
+++ b/pts-core/functions/pts-functions-install.php
@@ -97,9 +97,9 @@ function pts_install_external_dependencies($Benchmark, &$INSTALL_OBJ)
$dependencies = explode(", ", $dependencies);
$dep_match_count = 0;
- if(is_file(XML_DEPENDENCY_LOCATION . os_vendor() . "-packages.xml"))
+ if(is_file(MISC_LOCATION . "dependencies/" . os_vendor() . "-packages.xml"))
{
- $xml_parser = new tandem_XmlReader(file_get_contents(XML_DEPENDENCY_LOCATION . os_vendor() . "-packages.xml"));
+ $xml_parser = new tandem_XmlReader(file_get_contents(MISC_LOCATION . "dependencies/" . os_vendor() . "-packages.xml"));
$generic_package = $xml_parser->getXMLArrayValues("Distribution/Package/GenericName");
$distro_package = $xml_parser->getXMLArrayValues("Distribution/Package/PackageName");
diff --git a/pts-core/functions/pts-functions.php b/pts-core/functions/pts-functions.php
index 50a3d0d..f2f7c48 100644
--- a/pts-core/functions/pts-functions.php
+++ b/pts-core/functions/pts-functions.php
@@ -30,7 +30,7 @@ define("THIS_RUN_TIME", time());
define("XML_PROFILE_LOCATION", "pts/benchmark-profiles/");
define("XML_SUITE_LOCATION", "pts/benchmark-suites/");
-define("XML_DEPENDENCY_LOCATION", "pts/distribution-dependencies/");
+define("MISC_LOCATION", "pts/misc-files/");
define("BENCHMARK_RESOURCE_LOCATION", "pts/benchmark-resources/");
define("PTS_USER_DIR", pts_find_home("~/.phoronix-test-suite/"));
<
Copyright © 2010 by Phoronix Media