summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-02-13 20:41:39 +0100
committerJonas Smedegaard <dr@jones.dk>2008-02-13 20:41:39 +0100
commit26f125802dd46b9e7b00f9591cbc41fc80a3ed8d (patch)
tree766f3b0f38828aae5701e442c1dc45246f4b1bc8
parent5225a4152243b3589dfab2bd24fd5eba2b68e8db (diff)
Avoid hardcoded $HOME (except perl libdir used within wrappers).
-rw-r--r--ikiwiki.setup6
1 files changed, 3 insertions, 3 deletions
diff --git a/ikiwiki.setup b/ikiwiki.setup
index 4b99e24..710e0d2 100644
--- a/ikiwiki.setup
+++ b/ikiwiki.setup
@@ -11,8 +11,8 @@ use IkiWiki::Setup::Standard {
adminemail => 'me@example.org',
# Be sure to customise these..
- srcdir => "/home/debian/private_webdata/golearn/content",
- destdir => "/home/debian/public_websites/golearn.biks.dk",
+ srcdir => $ENV{'HOME'} . "/private_webdata/golearn/content",
+ destdir => $ENV{'HOME'} . "/public_websites/golearn.biks.dk",
url => "http://golearn.biks.dk",
#cgiurl => "http://example.org/ikiwiki.cgi",
@@ -87,7 +87,7 @@ use IkiWiki::Setup::Standard {
# # Note that this will overwrite any existing
# # post-update hook script, which may not be
# # what you want.
- wrapper => "/home/debian/public_websites/source.jones.dk/golearn_content.git/hooks/post-update-golearn",
+ wrapper => $ENV{'HOME'} . "/public_websites/source.jones.dk/golearn_content.git/hooks/post-update-golearn",
wrappermode => "06755",
},
],