Fix upload
This commit is contained in:
parent
266025101e
commit
bc873863dc
|
@ -111,7 +111,8 @@ sub MAIN(
|
||||||
|
|
||||||
# Clean if there is more than one ttc folder, easiest way to locate the
|
# Clean if there is more than one ttc folder, easiest way to locate the
|
||||||
# correct one
|
# 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
|
# Do a pack clean build so we can find the ttms
|
||||||
exit -1 unless run <pack clean>;
|
exit -1 unless run <pack clean>;
|
||||||
exit -1 unless run <pack build>;
|
exit -1 unless run <pack build>;
|
||||||
|
|
Loading…
Reference in a new issue