Skip to content

Commit

Permalink
Address remarks made
Browse files Browse the repository at this point in the history
  • Loading branch information
stdweird committed Aug 16, 2015
1 parent c641b1b commit cf126aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/bin/ccm
Expand Up @@ -54,7 +54,7 @@ ccm [I<OPTIONS>]
=head1 OPTIONS
For the list op options, check the C<EDG::WP4::CCM::CLI> and
C<EDG::WP4::CCM::Options> documentation.
For the list of options, check the L<EDG::WP4::CCM::CLI> and
L<EDG::WP4::CCM::Options> documentation.
=cut
2 changes: 1 addition & 1 deletion src/main/conf/quattor-ccm
Expand Up @@ -12,7 +12,7 @@ _quattor_find_bin()
{
local dir bin fn
fn="$1"
# use the "slow" sed here

for dir in `echo $PATH | sed 's/:/ /g'`; do
bin="$dir/$fn"
if [ -x "$bin" ]; then
Expand Down
3 changes: 1 addition & 2 deletions src/main/perl/Options.pm
Expand Up @@ -281,8 +281,7 @@ sub add_actions
my ($self, $newactions) = @_;

while (my ($action, $help) = each %$newactions) {
my $method = $self->can("action_$action");
if($method) {
if($self->can("action_$action")) {
$_actions->{$action} = $help;
} else {
$self->warn("Not adding non-existing action $action");
Expand Down

0 comments on commit cf126aa

Please sign in to comment.