From bc873863dc496895419fc63926d18b2d2e77d517 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 22 Dec 2024 14:05:59 +0000 Subject: [PATCH] Fix upload --- src/upload.raku | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/upload.raku b/src/upload.raku index 4336ff2..432190d 100755 --- a/src/upload.raku +++ b/src/upload.raku @@ -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 ; exit -1 unless run ;