diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-01-12 11:52:13 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-01-12 11:52:13 +0000 |
commit | 45f946c65e2ba16431dd315f45cf49bd7199a9fd (patch) | |
tree | fe184ba33bdbbeed19412e05cf9bbf528157e42c /index.php | |
parent | af23cc2d20af05ff094237b21428a3a7f0a94e0c (diff) | |
download | pkgsubmit-45f946c65e2ba16431dd315f45cf49bd7199a9fd.tar pkgsubmit-45f946c65e2ba16431dd315f45cf49bd7199a9fd.tar.gz pkgsubmit-45f946c65e2ba16431dd315f45cf49bd7199a9fd.tar.bz2 pkgsubmit-45f946c65e2ba16431dd315f45cf49bd7199a9fd.tar.xz pkgsubmit-45f946c65e2ba16431dd315f45cf49bd7199a9fd.zip |
Use a subdirectory for data, to be writable by apache and fix a syntax error
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,6 +16,7 @@ $title = "Mageia build system status"; $tz = new DateTimeZone("UTC"); # Temporary until initial mirror is ready +chdir("data"); $nb_rpm = shell_exec('rpm -qp --qf "%{SOURCERPM}\n" /distrib/bootstrap/distrib/cauldron/i586/media/core/release/*.rpm | sort -u | tee src.txt | wc -l'); $nb_rpm_mga = shell_exec('grep mga src.txt | tee src.mga.txt | wc -l'); shell_exec('grep -v mga src.txt > src.mdv.txt'); @@ -172,7 +173,6 @@ foreach ($pkgs as $key => $p) { echo $p["type"]; if ($typelink) echo "</a>"; - } echo "</td>\n"; echo "</tr>\n"; } |