diff options
Diffstat (limited to 'examples/pkglist-gitolite')
-rwxr-xr-x | examples/pkglist-gitolite | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/pkglist-gitolite b/examples/pkglist-gitolite new file mode 100755 index 0000000..537093a --- /dev/null +++ b/examples/pkglist-gitolite @@ -0,0 +1,9 @@ +#!/bin/bash +# added to ct as PKGLIST_PATH script with PKGLIST_LOCAL=1 +# +# This file is licensed under the GPL v2. +# (c) Michael Gebetsroither <michael@mgeb.org> + +ssh $PKG_USER@${PKG_HOST} list_config_repos |while read reponame_ type_ hash_; do + echo $reponame_ $type_ $hash_ "$PKG_USER@${PKG_HOST}:${PKG_PATH}/${reponame_}.git" +done |