Commit ccbbf03b authored by Damyan Ivanov's avatar Damyan Ivanov

report the location of the checkout

parent 8d62e366
......@@ -14,14 +14,16 @@ usage() {
[ -n "${1:-}" ] || usage
[ -z "${2:-}" ] || usage
cd "${DPT_PACKAGES:-.}"
cd "${DPT_PACKAGES:=.}"
if [ -d "$1" ]; then
echo "Updating existing checkout in ${DPT_PACKAGES}/$1"
cd "$1"
gbp-pull
else
gbp-clone --all git+ssh://git.debian.org/git/pkg-perl/packages/$1.git
cd "$1"
echo "$1 ready in ${DPT_PACKAGES}/$1"
fi
exit 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment