Fix upload

This commit is contained in:
Nathan McCarty 2024-12-22 14:05:59 +00:00
parent 266025101e
commit bc873863dc

View file

@ -111,7 +111,8 @@ sub MAIN(
# Clean if there is more than one ttc folder, easiest way to locate the
# correct one
if "build/ttc".IO.dir.elems > 1 {
my $ttc-path = "build/ttc".IO;
if !($ttc-path ~~ :e) || $ttc-path.dir.elems != 1 {
# Do a pack clean build so we can find the ttms
exit -1 unless run <pack clean>;
exit -1 unless run <pack build>;