bug in lb: reading build.sh in subshell
Hi,
While testing different releases I think I found a bug in bin/lb and all scripts. The row
# Including common functions
( . "${LIVE_BUILD}/scripts/build.sh" > /dev/null 2>&1 || true ) || . /usr/lib/live/build.sh
reads "${LIVE_BUILD}/scripts/build.sh" in a subshell due to the () and as
such variable are not set [1]. You can see that if you use::
export LIVE_BUILD=path..
expo PATH=...
lb -v
sandro@argoz:/home/src/distro$ lb -v
/home/src/distro/live-build/bin/lb: 18: Echo: not found
This is true of course of any single script in scripts/build that include
build.sh.
sandro
*:-)
--
Sandro Dentella *:-)
http://www.reteisi.org Soluzioni libere per le scuole
http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy
Reply to: