Everywhere: Replace "jw_build" by "jw_pkg"

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-11-28 13:11:04 +01:00
commit 6340eeace9

View file

@ -23,11 +23,11 @@ class CmdGetAuthInfo(Cmd): # export
keys = ['username', 'password']
# --- Milk jw-pkg repo
jw_build_dir = self.app.proj_dir('jw-pkg')
if not os.path.isdir(jw_build_dir + '/.git'):
self.app.debug(f'jw-pkg directory is not a Git repo: {jw_build_dir}')
jw_pkg_dir = self.app.proj_dir('jw-pkg')
if not os.path.isdir(jw_pkg_dir + '/.git'):
self.app.debug(f'jw-pkg directory is not a Git repo: {jw_pkg_dir}')
return
remotes = run_cmd(['git', '-C', jw_build_dir, 'remote', '-v'])
remotes = run_cmd(['git', '-C', jw_pkg_dir, 'remote', '-v'])
result: dict[str, str] = {}
for line in remotes.split('\n'):
if re.match(r'^\s*$', line):