Skip to content

Commit

Permalink
[backend] publish: log execution of published hooks
Browse files Browse the repository at this point in the history
Log which hook was executed for a published project to the publishers logfile.
  • Loading branch information
cschneemann authored and adrianschroeter committed Mar 12, 2014
1 parent 5792300 commit 7a113fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/bs_publish
Original file line number Diff line number Diff line change
Expand Up @@ -1834,6 +1834,7 @@ publishprog_done:
}
}
if ($BSConfig::publishedhook && $BSConfig::publishedhook->{$publish_prp}) {
print " calling published hook $BSConfig::publishedhook->{$publish_prp}\n";
qsystem($BSConfig::publishedhook->{$publish_prp}, $prp, $extrep, @changed) && warn(" $BSConfig::publishedhook->{$publish_prp} failed: $?");
}

Expand Down

0 comments on commit 7a113fc

Please sign in to comment.