summaryrefslogtreecommitdiff
path: root/buildscripts/phing
diff options
context:
space:
mode:
authorChristophe.Boulain <>2010-02-17 14:08:24 +0000
committerChristophe.Boulain <>2010-02-17 14:08:24 +0000
commitc625202466d9677f4005905f73b00c2941e1f6da (patch)
treef316b1a335459ac68ed432de870b198f1448a260 /buildscripts/phing
parentb13ce728aed3916500b2560ff203fc14799425be (diff)
Update phing task to get correct svn revision when building
Diffstat (limited to 'buildscripts/phing')
-rw-r--r--buildscripts/phing/tasks/PradoVersionTask.php2
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';