mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
cvs-admin.sh: Add support for $HOME/cvs-list.txt
If $HOME/cvs-list.txt exists, it is used as whitelist for the list-projects command Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
b77d92794e
commit
d63b40082e
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ cmd_list_projects()
|
|||
test -x $p || continue
|
||||
test -r $p || continue
|
||||
p=${p##./}
|
||||
test -f $HOME/cvs-list.txt && grep -q "^$p$" $HOME/cvs-list.txt || continue
|
||||
proj="$proj $p"
|
||||
done
|
||||
[ "$proj" ] && echo $proj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue