build.sh: allow user to specify an alternate localstatedir
commit86c2ba192b891b8a0024477a778267ee95106e82
authorGaetan Nadon <memsize@videotron.ca>
Tue, 14 Dec 2010 01:47:01 +0000 (13 20:47 -0500)
committerGaetan Nadon <memsize@videotron.ca>
Fri, 31 Dec 2010 16:19:04 +0000 (31 11:19 -0500)
tree2539d5432fa589303093d66bf5d4968307ef1f07
parent3f223cef336d4292496af92c8b9065eb9e0467b3
build.sh: allow user to specify an alternate localstatedir

Modules can be configured with --localstatedir to provide an alternate
location for modifiable single-machine data.

The log dir was created relative to the hard-coded "var" subdir.

A LOCALSTATEDIR variable is added which uses the "var" default value.

If a value other than the default value is used,
the CONFCMD emitted will reflect that with --localstatedir option.

Reviewed-by: Trevor Woerner <twoerner@gmail.com>
Reviewed-by: Matt Dew <matt@osource.org>
Acked-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
build.sh