pre-upload: fix public overlay checks
The new overlay checks were tested against private overlays only.
The file layout in the public overlays are different which broke
some assumptions. Shuffle code around to support both.
TEST=checked existing/bad layout.confs in src/overlays/ and src/private-overlays/
Reviewed-by: Steve Fung <email@example.com>
Tested-by: Mike Frysinger <firstname.lastname@example.org>
1 file changed