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

[PATCH] use new switch to apply live appends to LH_BOOTAPPEND_INSTALL as default



> Jesse W. Hathaway wrote:
> > you are not ensured
> > that the values will get substituted appropriately
> 
> why?

well the variables won't get substituted properly unless sed is 
used to substitute the variable, which I think is bad practice 
and creates difficult to read code.

e.g.

FOO='${BAR}'
BAR=TEST
FOO=$(echo $FOO|sed "s@\${BAR}@${BAR}@")
echo $FOO

or am I not reading the current code correctly? As an example the
current code fails for syslinux debian-install targets.

Jesse



Reply to: