mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
pgit.sh list-repos with --interactive false
pgit.sh list-repos runs jw-pkg.py projects list-repos. Interactivity hurts here, turn it off. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
5af68a6541
commit
5ae2dde608
1 changed files with 2 additions and 2 deletions
|
|
@ -197,7 +197,7 @@ cmd_get()
|
|||
local projects="$PGIT_SH_PROJECTS"
|
||||
local ignore="$PGIT_IGNORE"
|
||||
local this_dir="${0%/*}"
|
||||
local jw_projects="/usr/bin/python3 $this_dir/jw-pkg.py"
|
||||
local jw_pkg="/usr/bin/python3 $this_dir/jw-pkg.py"
|
||||
local create_remote_user_repos=false
|
||||
local long_opts="create-remote-user-repos"
|
||||
local refspec_arg refspec=()
|
||||
|
|
@ -228,7 +228,7 @@ cmd_get()
|
|||
[ "$from_user" ] || from_user=$whoami
|
||||
|
||||
if [ -z "$projects" ]; then
|
||||
projects=`$jw_projects projects list-repos --from-owner $from_user $remote_base`
|
||||
projects=`$jw_pkg --interactive false projects list-repos --from-owner $from_user $remote_base`
|
||||
[ "$?" != 0 ] && fatal "Failed to enumerate repositories"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue