From 2664ae55742f7b05f29397698fc43ee64357b4f1 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 19 Jun 2006 03:59:09 +0000 Subject: Adjust build based on OS. --- buildscripts/phing/tasks/PradoVersionTask.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'buildscripts/phing/tasks') diff --git a/buildscripts/phing/tasks/PradoVersionTask.php b/buildscripts/phing/tasks/PradoVersionTask.php index dfa0f578..911b68d4 100644 --- a/buildscripts/phing/tasks/PradoVersionTask.php +++ b/buildscripts/phing/tasks/PradoVersionTask.php @@ -11,6 +11,10 @@ class PradoVersionTask extends PropertyTask { $this->addProperty('prado.version',$this->getPradoVersion()); $this->addProperty('prado.revision',$this->getPradoRevision()); + if(substr(PHP_OS, 0, 3) == 'WIN') + $this->addProperty('prado.winbuild','true'); + else + $this->addProperty('prado.winbuild','false'); } /** -- cgit v1.2.3