Commit Graph

5 Commits

Author SHA1 Message Date
Nils Schneider
3a8af0ce38 scripts: fix GLUON_SITE_CONFIG
check_site.sh and site.sh were setting GLUON_SITE_CONFIG on their own
even though the environment variable was already exported.
2014-07-29 10:05:10 +02:00
Matthias Schiffer
1b520c6856 Use site_config loader from gluon packages 2014-05-15 22:59:12 +02:00
Matthias Schiffer
3a6561a40c New Lua-based site configuration 2014-05-15 22:59:12 +02:00
Daniel Ehlers
bd28aa99ae Return exit code on missing value
Let the site configuration value script return 1 when
the requested value is not available.This enables us
to react on failures, so we can for example use a default
value.

With this patch the script will return with exitcode 1 if
the value is not found and no output on stdout. Otherwise
exitcode is 0 and the value is returned on stdout.
2014-05-09 13:38:26 +02:00
Matthias Schiffer
6942303486 Add site.sh to get site configuration 2014-01-20 02:30:25 +01:00