Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Commit

Permalink
delete /tmp/pirum* after build
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskite committed Mar 29, 2012
1 parent c1b7213 commit fc9e1ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions script/tasks
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ function task_pirum_build_channel() {
global $container;
$builder = $container->get('Pearhub_PirumBuilder');
$builder->build();

/* clean up after pirum build in /tmp */
$shell = $container->get('Shell');
$temp_dir = sys_get_temp_dir() . "/pirum*";
$shell->run("rm -rf $temp_dir");
}

if (realpath($_SERVER['PHP_SELF']) == __FILE__) {
Expand Down

0 comments on commit fc9e1ba

Please sign in to comment.