[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#703634: updating with lb config does unwanted expansion in configuration files



Package: live-build
Version: 3.0.1-1

Hi,

I just noticed that lb config on a existing configuration tree does
unexpected expansions:

$ lb config
[2013-03-21 16:54:46] lb config 
P: Considering defaults defined in /etc/live/build.conf
P: Creating config tree for a debian/i386 system
$ grep ^LB_ISO_VOLUME config/binary 
LB_ISO_VOLUME="Debian wheezy $(date +%Y%m%d-%H:%M)"
[0] /tmp/x$ lb config
[2013-03-21 16:55:39] lb config 
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree for a debian/i386 system
$ grep ^LB_ISO_VOLUME config/binary 
LB_ISO_VOLUME="Debian wheezy 20130321-16:55"

the second lb config let the $(date ..) in LB_ISO_VOLUME expand. Same
goes for $VERSION in LB_ISO_PREPARER.

Also in GZIP_OPTIONS in common there are two spaces before the second
call and one after. Thats just a minor thing but i think this is the
same reason.

kind regards,
Michael


Reply to: