[Lsb-messages] /var/www/bzr/lsb/devel/prdb r11: When writing problem_db2, also create and write the md5 file.
Jeff Licquia
licquia at linuxfoundation.org
Wed Mar 27 13:44:05 UTC 2013
------------------------------------------------------------
revno: 11
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: prdb
timestamp: Wed 2013-03-27 09:44:05 -0400
message:
When writing problem_db2, also create and write the md5 file.
modified:
config.inc.php.master
index.php
-------------- next part --------------
=== modified file 'config.inc.php.master'
--- a/config.inc.php.master 2011-04-13 22:48:50 +0000
+++ b/config.inc.php.master 2013-03-27 13:44:05 +0000
@@ -3,7 +3,7 @@
#$bzr_path = "/srv/www/bzr/lsb/devel/problem_db";
$bzr_path = "/srv/www/bzr/unofficial/problem_db";
$lock_file = $bzr_path."/.lock";
-$ftp_path = "/srv/ftp/pub/lsb/updates/dist-checker-data/problem_db2";
+$ftp_path = "/srv/ftp/pub/lsb/updates/dist-checker-data";
### MySQL configuration
$mysql_host = 'prdbhost';
=== modified file 'index.php'
--- a/index.php 2012-03-08 19:55:39 +0000
+++ b/index.php 2013-03-27 13:44:05 +0000
@@ -1421,7 +1421,8 @@
." && bzr commit problem_db2 2>&1"
." --author=".escapeshellarg($name)
." --file=.#commit_msg"
- ." && cp problem_db2 ".escapeshellarg($ftp_path)
+ ." && md5sum problem_db2 > problem_db2.md5"
+ ." && cp problem_db2* ".escapeshellarg($ftp_path)
;
exec( $cmd, $content, $return_var=0 );
if ( $return_var ) {
More information about the lsb-messages
mailing list