CloverOS?

Can you read retard? No shebang means the script is interpreted by /bin/sh by default.
If you use bash, say it.

Package validation works now

LiveCD: github.com/chiru-no/cloveros/releases/download/20170716/CloverOS-x86_64-20170716.iso

This has to be some kind of honeypot. I would never, ever trust 4chan script kiddies to run my OS.

Use the fucking gentoo handbook. Installing gentoo is so easy nowadays that it takes less than a day from start to finish. You also get a completely custom/personalized version of gentoo that werks, not this "made for everyone" shitshow that (((Clover))) offers.

Building CloverOS repo:
wget raw.githubusercontent.com/chiru-no/cloveros/master/etc/portage/{package.use,package.env,package.keywords,make.conf} -P /etc/portage/
emerge $(curl -s raw.githubusercontent.com/chiru-no/cloveros/master/var/lib/portage/world)
quickpkg --include-unmodified-config=y "*/*"

Source is all there

Make Livecd: gitgud.io/cloveros/cloveros/blob/master/livecd_build.sh

Make binhost: gitgud.io/cloveros/cloveros/blob/master/chroot_build_binhost.sh

cloveros.ga/s/CloverOS-x86_64-20170801.iso