svn: /web/php-rmtools/trunk/client/script/ snap.php
| From: | Pierre Joye | Date: | Wed, 14 Dec 2011 10:54:09 +0000 |
| Subject: | svn: /web/php-rmtools/trunk/client/script/ snap.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12636@lists.php.net to get a copy of this message | ||
pajoye Wed, 14 Dec 2011 10:54:09 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=321006
Log:
- fix repalce call
Changed paths:
U web/php-rmtools/trunk/client/script/snap.php
Modified: web/php-rmtools/trunk/client/script/snap.php
===================================================================
--- web/php-rmtools/trunk/client/script/snap.php 2011-12-14 10:20:37 UTC (rev 321005)
+++ web/php-rmtools/trunk/client/script/snap.php 2011-12-14 10:54:09 UTC (rev 321006)
@@ -85,7 +85,7 @@
copy($build->debug_path, $toupload_dir . '/php-debug-pack-' . $branch_name_short .
'-' . $build_name . '-r'. $last_rev . '.zip');
}
if ($build->test_path) {
- $tmp = str_replace(array('',''), array('-ts', '-nts'));
+ $tmp = str_replace(array('',''), array('-ts', '-nts'),
$build_name);
copy($build->test_path, $toupload_dir . '/php-test-pack-' . $branch_name_short .
'-' . $tmp . '-r'. $last_rev . '.zip');
}