diff --git a/live-build/auto/config b/live-build/auto/config index d6d62cbb..3d155228 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -141,13 +141,13 @@ add_layered_pass_delta() { local seed_regexp="$3" if [ -z "${seed_regexp}" ]; then - substract_package_lists ${2} "" >> config/package-lists/livecd-rootfs.removal-list.chroot_${1}_no-${2} + subtract_package_lists ${2} "" >> config/package-lists/livecd-rootfs.removal-list.chroot_${1}_no-${2} return fi for seed in $(ls config/germinate-output/|grep -P "$seed_regexp"); do pass=${1}_${seed} - substract_package_lists ${2} ${seed} >> config/package-lists/livecd-rootfs.removal-list.chroot_$pass + subtract_package_lists ${2} ${seed} >> config/package-lists/livecd-rootfs.removal-list.chroot_$pass done } diff --git a/live-build/functions b/live-build/functions index 33ef79e2..1127897e 100644 --- a/live-build/functions +++ b/live-build/functions @@ -592,11 +592,11 @@ list_packages_from_seed () { done|sort -u } -substract_package_lists() { - # Substract a package list from another +subtract_package_lists() { + # Subtract a package list from another # # $1 source package list - # $2 Package list to substract from source package list + # $2 Package list to subtract from source package list local list1=$(mktemp) local list2=$(mktemp)