=== modified file 'overlay/scripts/update_profiles' --- overlay/scripts/update_profiles 2013-05-17 09:17:06 +0000 +++ overlay/scripts/update_profiles 2013-05-16 14:43:12 +0000 @@ -11,12 +11,12 @@ (*) scan_profile "$d/$parent";; esac done < "$d/parent" - [[ -r "$d/package.set" ]] && package_set+="$d/package.set" + [[ -r "$d/package.set" ]] && package_set=( "$d/package.set" $package_set ) } scan_profile "$ROOT/etc/portage/make.profile" if [[ -n "$package_set" ]]; then [[ -d "$ROOT/etc/portage/sets" ]] || mkdir "$ROOT/etc/portage/sets" - sort -u "${package_set[@]}" >"$ROOT/etc/portage/sets/profile" + sort -u "$package_set" >"$ROOT/etc/portage/sets/profile" fi