Bug solving

This commit is contained in:
Kevin Veen-Birkenbach
2025-03-06 12:45:53 +01:00
parent 2035367fa7
commit 05917b23d3
2 changed files with 4 additions and 2 deletions

View File

@@ -5,8 +5,7 @@ import yaml
import argparse
import json
import os
# Ensure the current working directory is the scripts directory
os.chdir(os.path.dirname(os.path.realpath(__file__)))
# Define configuration file paths.
USER_CONFIG_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "config", "config.yaml")
BIN_DIR = os.path.expanduser("~/.local/bin")

View File

@@ -1,4 +1,7 @@
import os
from pkgmgr.get_repo_identifier import get_repo_identifier
from pkgmgr.get_repo_dir import get_repo_dir
from pkgmgr.run_command import run_command
def exec_git_command(selected_repos, repositories_base_dir, all_repos, git_cmd, extra_args, preview=False):
"""Execute a given git command with extra arguments for each repository."""