Bug solving
This commit is contained in:
3
main.py
3
main.py
@@ -5,8 +5,7 @@ import yaml
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
# Ensure the current working directory is the script’s 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")
|
||||
|
||||
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user