diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-11-07 22:17:57 -0500 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-11-13 10:34:15 -0500 |
commit | 802e088d95cd44e3a135475f98503d6e453df610 (patch) | |
tree | bc7927cab50f587dd1b9c9de1d422ec5d3f1ee2f /pts-core/functions/pts-functions-install_dependencies.php | |
parent | fef8c13129125d6516189bd1f6be88358661aa58 (diff) | |
download | phoronix-test-suite-upstream-802e088d95cd44e3a135475f98503d6e453df610.tar.gz phoronix-test-suite-upstream-802e088d95cd44e3a135475f98503d6e453df610.tar.xz phoronix-test-suite-upstream-802e088d95cd44e3a135475f98503d6e453df610.zip |
pts-core: Switch over relevant define statements to using new PTS
assignment functions for program-wide option-specific variable constants
Diffstat (limited to 'pts-core/functions/pts-functions-install_dependencies.php')
-rw-r--r-- | pts-core/functions/pts-functions-install_dependencies.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pts-core/functions/pts-functions-install_dependencies.php b/pts-core/functions/pts-functions-install_dependencies.php index d410322..4abc787 100644 --- a/pts-core/functions/pts-functions-install_dependencies.php +++ b/pts-core/functions/pts-functions-install_dependencies.php @@ -110,7 +110,7 @@ function pts_install_external_dependencies_list($identifier, &$INSTALL_OBJ) $dependencies = array_map("trim", $dependencies); - if(!defined("PTS_EXDEP_FIRST_RUN")) + if(!pts_is_assignment("PTS_EXDEP_FIRST_RUN")) { array_push($dependencies, "php-extras"); @@ -119,7 +119,7 @@ function pts_install_external_dependencies_list($identifier, &$INSTALL_OBJ) array_push($dependencies, "linux-32bit-libraries"); } - define("PTS_EXDEP_FIRST_RUN", 1); + pts_set_assignment("PTS_EXDEP_FIRST_RUN", 1); } if(!pts_package_generic_to_distro_name($INSTALL_OBJ, $dependencies)) |