=== modified file 'functions/fsb_target_gentoo_init' --- functions/fsb_target_gentoo_init 2013-05-14 18:07:21 +0000 +++ functions/fsb_target_gentoo_init 2013-05-14 18:05:44 +0000 @@ -55,7 +55,7 @@ echo local >$dir/var/portage/local/profiles/repo_name || die bzr branch -r $STAGE_OVERLAY_REVNO $FSB_OVERLAY_SRC $dir/var/portage/prosys || die "Failed to branch overlay" -profile=/usr/portage/${"$(readlink /etc/make.profile)"#*/portage/} +profile=/usr/portage/${"$(readlink /etc/make.profile)"#*../portage/} mv $dir/etc/portage/make.profile{,.orig} || die ln -s ../../var/portage/local/profiles/custom $dir/etc/portage/make.profile || die echo $profile >$dir/etc/portage/make.profile/parent || die