diff options
author | xue <> | 2006-06-19 03:59:09 +0000 |
---|---|---|
committer | xue <> | 2006-06-19 03:59:09 +0000 |
commit | 2664ae55742f7b05f29397698fc43ee64357b4f1 (patch) | |
tree | 87cff1c869c17472ca4d4defc8005ae353edc367 /buildscripts/phing/tasks/PradoVersionTask.php | |
parent | d9a6e743bff30c14b8235d62858a0ccdbe8910c6 (diff) |
Adjust build based on OS.
Diffstat (limited to 'buildscripts/phing/tasks/PradoVersionTask.php')
-rw-r--r-- | buildscripts/phing/tasks/PradoVersionTask.php | 4 |
1 files changed, 4 insertions, 0 deletions
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'); } /** |