diff options
author | Christophe.Boulain <> | 2010-02-17 14:08:24 +0000 |
---|---|---|
committer | Christophe.Boulain <> | 2010-02-17 14:08:24 +0000 |
commit | c625202466d9677f4005905f73b00c2941e1f6da (patch) | |
tree | f316b1a335459ac68ed432de870b198f1448a260 /buildscripts | |
parent | b13ce728aed3916500b2560ff203fc14799425be (diff) |
Update phing task to get correct svn revision when building
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/phing/tasks/PradoVersionTask.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/phing/tasks/PradoVersionTask.php b/buildscripts/phing/tasks/PradoVersionTask.php index 911b68d4..2a76d97c 100644 --- a/buildscripts/phing/tasks/PradoVersionTask.php +++ b/buildscripts/phing/tasks/PradoVersionTask.php @@ -46,7 +46,7 @@ class PradoVersionTask extends PropertyTask else return 'unknown'; $contents=file_get_contents($propFile); - if(preg_match('/\\/repos\\/prado\\/\\!svn\\/ver\\/(\d+)\\//ms',$contents,$matches)>0) + if(preg_match('/\\/svn\\/\\!svn\\/ver\\/(\d+)\\//ms',$contents,$matches)>0) return $matches[1]; else return 'unknown'; |