summaryrefslogtreecommitdiff
path: root/examples/pkglist-gitolite
blob: 16fe2995f928eb714791a0882c112c1cb8a109b8 (plain)
1
2
3
4
5
6
7
8
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} pkglist-gitolite-adc |while read reponame_ type_ hash_; do
    echo $reponame_ $type_ $hash_ "$PKG_USER@${PKG_HOST}:${PKG_PATH}/${reponame_}.git"
done