Replace remaining paths with $RealBin.
[buildfarm-server.git] / scripts / purge_old_logs.pl
index ad267bdd0be4528c828c46b4c9e3d6e1556c62f8..f539f2fb877e87579a007d1289e925e50ca0308b 100755 (executable)
@@ -37,7 +37,7 @@ my $del_recent_sth = $db->prepare(q[
 $del_sth->execute();
 $del_recent_sth->execute();
 
-my $buildlogs = "/home/farm/server/buildlogs";
+my $buildlogs = "$RealBin/../buildlogs";
 
 my @dirs = `find $buildlogs -mindepth 1 -type d -ctime +95`;
 foreach my $dir (@dirs) {