]> git.cworth.org Git - ikiwiki-bootstrap/commit
Add a BEGIN block so that the gitrepo and checkout variables actually work
authorCarl Worth <cworth@cworth.org>
Fri, 15 Jun 2007 17:18:12 +0000 (10:18 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 15 Jun 2007 17:18:12 +0000 (10:18 -0700)
commitedb8489396cd121863350e429eb2679d7bef3c9d
tree5e13125e5cdded1525561378dfd559e26251500a
parent07eb4c362e1fd0da0c87a871f64f2fe95762eb2b
Add a BEGIN block so that the gitrepo and checkout variables actually work

The trick here is that the hash containing configuration settings is
being passed to a perl module's import method with a use statement.
That use statement includes an implicit BEGIN statement which makes
the import function get called at compile-time. So our settings for
gitrepo and checkout don't take effect unless we also put them in
their own BEGIN block.
ikiwiki.setup