mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
Everywhere: Replace "jw_build" by "jw_pkg"
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f90f5aeebe
commit
6340eeace9
1 changed files with 4 additions and 4 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue