Fix behaviour of (undocumented) "#nif" conditional test
Thanks to Erik Cumps <erik.cumps@esaturnus.com> for the patch. Closes: #801379
This commit is contained in:
parent
db1bc0a1b8
commit
b8f55caa14
|
@ -19,6 +19,8 @@ live-build (1:20160105) UNRELEASED; urgency=medium
|
|||
* Drop debian/source/{local-options,options} as they are no longer needed.
|
||||
* Pass components to debootstrap --second-stage. Closes: #806782
|
||||
Thanks to Sjoerd Simons <sjoerd.simons@collabora.co.uk> for the patch.
|
||||
* Fix behaviour of (undocumented) "#nif" conditional test. Closes: #801379
|
||||
Thanks to Erik Cumps <erik.cumps@esaturnus.com> for the patch.
|
||||
|
||||
[ Kristian Klausen ]
|
||||
* Include ext{3,4} journal size when calculating image size. Closes: #801712
|
||||
|
|
|
@ -89,14 +89,14 @@ Expand_packagelist ()
|
|||
_LB_NEEDLE="$(echo "${_LB_LINE}" | cut -d' ' -f3-)"
|
||||
_LB_HAYSTACK="$(eval "echo \$LB_$(echo "${_LB_LINE}" | cut -d' ' -f2)")"
|
||||
|
||||
_LB_ENABLED=0
|
||||
_LB_ENABLED=1
|
||||
for _LB_NEEDLE_PART in ${_LB_NEEDLE}
|
||||
do
|
||||
for _LB_HAYSTACK_PART in ${_LB_HAYSTACK}
|
||||
do
|
||||
if [ "${_LB_NEEDLE_PART}" != "${_LB_HAYSTACK_PART}" ]
|
||||
if [ "${_LB_NEEDLE_PART}" = "${_LB_HAYSTACK_PART}" ]
|
||||
then
|
||||
_LB_ENABLED=1
|
||||
_LB_ENABLED=0
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue