diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-26 21:14:07 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-26 21:14:07 -0400 |
commit | 82f0facb620e59594aaf318c2eaf676c7788f1e6 (patch) | |
tree | 5d65038818dee722d70cc8cb30986f3452633232 /IkiWiki/Rcs | |
parent | 42ac4ec00959bd6162076af799023545b698bed9 (diff) |
fixups
Diffstat (limited to 'IkiWiki/Rcs')
-rw-r--r-- | IkiWiki/Rcs/bzr.pm | 2 | ||||
-rw-r--r-- | IkiWiki/Rcs/git.pm | 2 | ||||
-rw-r--r-- | IkiWiki/Rcs/mercurial.pm | 2 | ||||
-rw-r--r-- | IkiWiki/Rcs/monotone.pm | 2 | ||||
-rw-r--r-- | IkiWiki/Rcs/svn.pm | 2 | ||||
-rw-r--r-- | IkiWiki/Rcs/tla.pm | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/IkiWiki/Rcs/bzr.pm b/IkiWiki/Rcs/bzr.pm index 136f2d20f..5df522f6e 100644 --- a/IkiWiki/Rcs/bzr.pm +++ b/IkiWiki/Rcs/bzr.pm @@ -12,7 +12,7 @@ hook(type => "checkconfig", id => "bzr", call => sub { #{{{ if (! defined $config{diffurl}) { $config{diffurl}=""; } - if (exists $config{bzr_wrapper}) { + if (length $config{bzr_wrapper}) { push @{$config{wrappers}}, { wrapper => $config{bzr_wrapper}, wrappermode => (defined $config{bzr_wrappermode} ? $config{bzr_wrappermode} : "06755"), diff --git a/IkiWiki/Rcs/git.pm b/IkiWiki/Rcs/git.pm index f8614e4a1..6c9aca650 100644 --- a/IkiWiki/Rcs/git.pm +++ b/IkiWiki/Rcs/git.pm @@ -21,7 +21,7 @@ hook(type => "checkconfig", id => "git", call => sub { #{{{ if (! defined $config{gitmaster_branch}) { $config{gitmaster_branch}="master"; } - if (exists $config{git_wrapper}) { + if (length $config{git_wrapper}) { push @{$config{wrappers}}, { wrapper => $config{git_wrapper}, wrappermode => (defined $config{git_wrappermode} ? $config{git_wrappermode} : "06755"), diff --git a/IkiWiki/Rcs/mercurial.pm b/IkiWiki/Rcs/mercurial.pm index 0cc1e291d..3a98e09d8 100644 --- a/IkiWiki/Rcs/mercurial.pm +++ b/IkiWiki/Rcs/mercurial.pm @@ -12,7 +12,7 @@ hook(type => "checkconfig", id => "mercurial", call => sub { #{{{ if (! defined $config{diffurl}) { $config{diffurl}=""; } - if (exists $config{mercurial_wrapper}) { + if (length $config{mercurial_wrapper}) { push @{$config{wrappers}}, { wrapper => $config{mercurial_wrapper}, wrappermode => (defined $config{mercurial_wrappermode} ? $config{mercurial_wrappermode} : "06755"), diff --git a/IkiWiki/Rcs/monotone.pm b/IkiWiki/Rcs/monotone.pm index 5e8579b2f..d7e8f296a 100644 --- a/IkiWiki/Rcs/monotone.pm +++ b/IkiWiki/Rcs/monotone.pm @@ -41,7 +41,7 @@ hook(type => "checkconfig", id => "monotone", call => sub { #{{{ error("Monotone version too old, is $version but required 0.38"); } - if (exists $config{mtn_wrapper}) { + if (length $config{mtn_wrapper}) { push @{$config{wrappers}}, { wrapper => $config{mtn_wrapper}, wrappermode => (defined $config{mtn_wrappermode} ? $config{mtn_wrappermode} : "06755"), diff --git a/IkiWiki/Rcs/svn.pm b/IkiWiki/Rcs/svn.pm index e34d8fe3e..0e7df3659 100644 --- a/IkiWiki/Rcs/svn.pm +++ b/IkiWiki/Rcs/svn.pm @@ -20,7 +20,7 @@ hook(type => "checkconfig", id => "svn", call => sub { #{{{ $config{svnpath}=~s/\/$//; $config{svnpath}=~s/^\///; } - if (exists $config{svn_wrapper}) { + if (length $config{svn_wrapper}) { push @{$config{wrappers}}, { wrapper => $config{svn_wrapper}, wrappermode => (defined $config{svn_wrappermode} ? $config{svn_wrappermode} : "04755"), diff --git a/IkiWiki/Rcs/tla.pm b/IkiWiki/Rcs/tla.pm index 53c198032..e1389a346 100644 --- a/IkiWiki/Rcs/tla.pm +++ b/IkiWiki/Rcs/tla.pm @@ -10,7 +10,7 @@ hook(type => "checkconfig", id => "tla", call => sub { #{{{ if (! defined $config{diffurl}) { $config{diffurl}=""; } - if (exists $config{tla_wrapper}) { + if (length $config{tla_wrapper}) { push @{$config{wrappers}}, { wrapper => $config{tla_wrapper}, wrappermode => (defined $config{tla_wrappermode} ? $config{tla_wrappermode} : "06755"), |