Codebase list debian-dad / 2dc311b
Get Vcs-Git from the source with the highest version Balint Reczey 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6868 mkdir -p build-area tarballs
6969 # get original source, most likely for the original tarballs only
7070 (cd build-area && apt-get source --download-only $src)
71 repo=$(apt-cache showsrc $src | grep -m 1 "^Vcs-Git:" | cut -d" " -f2)
71 repo=$(apt-cache showsrc $src | grep "^Vcs-Git:" | tail -n 1 | cut -d" " -f2)
7272 if [ -n "$repo" ]; then
7373 # start from the packaging dir
7474 git clone $repo ${src}.git