diff options
Diffstat (limited to 'frontends')
-rwxr-xr-x | frontends/cgi/live-build-cgi | 2 | ||||
-rwxr-xr-x | frontends/cgi/live-build-cgi.cron | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/frontends/cgi/live-build-cgi b/frontends/cgi/live-build-cgi index 356918fcf..587be6c9d 100755 --- a/frontends/cgi/live-build-cgi +++ b/frontends/cgi/live-build-cgi @@ -9,7 +9,7 @@ # Including common functions -. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh +( . "${LIVE_BUILD}/scripts/build.sh" > /dev/null 2>&1 || true ) || . /usr/lib/live/build.sh # Reading defaults if [ -r /etc/default/live-build-cgi ] diff --git a/frontends/cgi/live-build-cgi.cron b/frontends/cgi/live-build-cgi.cron index a81de39a0..c8d966457 100755 --- a/frontends/cgi/live-build-cgi.cron +++ b/frontends/cgi/live-build-cgi.cron @@ -9,7 +9,7 @@ # Including common functions -. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh +( . "${LIVE_BUILD}/scripts/build.sh" > /dev/null 2>&1 || true ) || . /usr/lib/live/build.sh # Reading defaults if [ -r /etc/default/live-build-cgi ] |