diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-08-22 21:19:53 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-08-22 21:19:53 -0400 |
commit | 577477e1ce94d6a9626a0db3ba700c0d971c704c (patch) | |
tree | cb6f1b9306d9d1bb6d12feab794e81e43ac9e487 /auto.setup | |
parent | ae45223b3187476c4828254676edd94aff443ade (diff) | |
download | ikiwiki-577477e1ce94d6a9626a0db3ba700c0d971c704c.tar ikiwiki-577477e1ce94d6a9626a0db3ba700c0d971c704c.tar.gz |
put monotone dir name munging code in auto.setup
conceptually cleaner to do it this way
Diffstat (limited to 'auto.setup')
-rw-r--r-- | auto.setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto.setup b/auto.setup index 74879dbc5..ef0f1723c 100644 --- a/auto.setup +++ b/auto.setup @@ -28,7 +28,7 @@ IkiWiki::Setup::Automator->import( rcs => $rcs, srcdir => "$ENV{HOME}/$wikiname", destdir => "$ENV{HOME}/public_html/$wikiname", - repository => "$ENV{HOME}/$wikiname.$rcs", + repository => "$ENV{HOME}/$wikiname.".($rcs eq "monotone" ? "mtn" : $rcs), dumpsetup => "$ENV{HOME}/$wikiname.setup", url => "http://$domain/~$ENV{USER}/$wikiname", cgiurl => "http://$domain/~$ENV{USER}/$wikiname/ikiwiki.cgi", |