mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Made deletion of graphs safer. Thanks to Joseph Heenan <joseph@picsel.com>
This commit is contained in:
parent
a550f386e8
commit
b56a5eb3ac
@ -32,10 +32,11 @@ use vars @::legal_product;
|
||||
require "globals.pl";
|
||||
|
||||
# tidy up after graphing module
|
||||
chdir("graphs");
|
||||
unlink <./*.gif>;
|
||||
unlink <./*.png>;
|
||||
chdir("..");
|
||||
if (chdir("graphs")) {
|
||||
unlink <./*.gif>;
|
||||
unlink <./*.png>;
|
||||
chdir("..");
|
||||
}
|
||||
|
||||
ConnectToDatabase(1);
|
||||
GetVersionTable();
|
||||
|
Loading…
Reference in New Issue
Block a user