From 5e44796137cb9febe3aa7f52e40b7c4e28df0721 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 8 Jun 2015 21:13:40 +0300 Subject: [PATCH] i486 replaced with x32 (baggins?) --- buildlogs.inc | 2 +- pld-buildlogs/scripts/addlog.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/buildlogs.inc b/buildlogs.inc index b3bd3ee..4b4a94b 100644 --- a/buildlogs.inc +++ b/buildlogs.inc @@ -3,7 +3,7 @@ $database_file = "/home/services/httpd/html/pld-buildlogs/db/buildlogs2.db"; $database = "sqlite:$database_file"; $root_directory = "/home/services/ftp/pub/pld-buildlogs"; $addr = array( - "th" => array("SRPMS", "i486", "i686", "x86_64"), + "th" => array("SRPMS", "x32", "i686", "x86_64"), "ac" => array("SRPMS", "i386", "i586", "i686", "alpha", "amd64", "athlon", "ppc", "sparc", "sparc64") ); diff --git a/pld-buildlogs/scripts/addlog.php b/pld-buildlogs/scripts/addlog.php index 0c1ae30..24dd189 100644 --- a/pld-buildlogs/scripts/addlog.php +++ b/pld-buildlogs/scripts/addlog.php @@ -30,6 +30,8 @@ $ok = $result[$matches[3]]; $size = filesize($argv[1]); $mtime = filemtime($argv[1]); +#print "name $name, id $id, dist $dist, arch $arch, ok $ok, size, $size, mtime $mtime\n"; + try { $dbh = new PDO("$database"); } catch (PDOException $e) { -- 2.43.0