diff options
author | https://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web> | 2016-05-19 19:57:03 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2016-05-19 19:57:03 -0400 |
commit | c102c11d34068b2a25c053eb72354b486351620f (patch) | |
tree | 61801bd55040b055998f0527268043444fdf635c /doc | |
parent | 13ccdebb5fac0d1563212395718edecdc56a23a0 (diff) | |
download | ikiwiki-c102c11d34068b2a25c053eb72354b486351620f.tar ikiwiki-c102c11d34068b2a25c053eb72354b486351620f.tar.gz |
fix system calls
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/contrib/irker.mdwn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/plugins/contrib/irker.mdwn b/doc/plugins/contrib/irker.mdwn index bbc24e57d..603ee0dd8 100644 --- a/doc/plugins/contrib/irker.mdwn +++ b/doc/plugins/contrib/irker.mdwn @@ -108,14 +108,14 @@ sub genwrapper() { symlink($config{'irker_hook'}, $repo . '/hooks/post-receive') || error('failed to symlink: $!'); } my $channels = join(",", @{$config{'irker_channels'}}); - exec { 'git' } ('config', '-C', $repo, 'config', 'irker.channels', $channels); - exec { 'git' } ('config', '-C', $repo, 'config', 'irker.channels', $config{'wikiname'}); + system { 'git' } ('config', '-C', $repo, 'config', 'irker.channels', $channels); + system { 'git' } ('config', '-C', $repo, 'config', 'irker.channels', $config{'wikiname'}); if ($config{'irker_template'}) { exec { 'git' } ('config', '-C', $repo, 'config', 'irker.channels', $config{'irker_template'}); } } else { - exec { 'git' } ('config', '-C', $repo, 'config', '--remove-section', 'irker'); + system { 'git' } ('config', '-C', $repo, 'config', '--remove-section', 'irker'); if (-l $repo . '/hooks/post-receive' && readlink($repo . '/hooks/post-receive') =~ m/irkerhook/) { unlink($repo . '/hooks/post-receive'); |