# Calculate run=/bin/bash ini(overlay-calculate.revision)<#-cut(0,-,#-cl_pass_file-#)-#

#-ini(overlay-calculate.revision,#-cut(0,-,#-cl_pass_file-#)-#)-#

for arch in x86 amd64
do
	for pname in CLDXE
	do
		if [[ "$(readlink -f /etc/portage/make.profile)" =~ .*distros/profiles/${pname}/${arch}$ ]]
		then
			rm /etc/portage/make.profile
			ln -sf ../../var/lib/layman/distros/profiles/CLDXS/${arch} /etc/portage/make.profile
		fi
	done
done

exit 0
