# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@octobus.net>
# Date 1679473943 0
#      Wed Mar 22 08:32:23 2023 +0000
# Node ID b36ec8a97cfcdd91107ad7bfda04162aaf1178d1
# Parent  70c40e5afacd06bb27f764721951215af1e94686
scheduling: invoke auto-case in a simpler way

diff --git a/suites/hg/scheduling/loop b/suites/hg/scheduling/loop
--- a/suites/hg/scheduling/loop
+++ b/suites/hg/scheduling/loop
@@ -143,7 +143,7 @@
 
 
 def action_autofill(base_dir, count=None):
-    fill_script = base_dir / "bin/auto-cases"
+    fill_script = parent_dir / "auto-cases"
     cmd = [str(fill_script)]
     if count:
         cmd.append(str(count))