Add build scripts for ILO and IPMI management tools
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -5,8 +5,9 @@ from pathlib import Path
|
||||
|
||||
|
||||
SCRIPT_DIR = Path(__file__).resolve().parent
|
||||
REPO_ROOT = SCRIPT_DIR.parents[1]
|
||||
ENTRYPOINT = SCRIPT_DIR / "multi_powercycle.py"
|
||||
DIST_DIR = SCRIPT_DIR / "dist"
|
||||
DIST_DIR = REPO_ROOT / "dist"
|
||||
|
||||
|
||||
def main():
|
||||
@@ -25,7 +26,7 @@ def main():
|
||||
]
|
||||
|
||||
try:
|
||||
subprocess.run(command, cwd=SCRIPT_DIR, check=True)
|
||||
subprocess.run(command, cwd=REPO_ROOT, check=True)
|
||||
except subprocess.CalledProcessError as exc:
|
||||
raise SystemExit(exc.returncode) from exc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user