File: get-orig-source

package info (click to toggle)
pycaptcha 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,236 kB
  • ctags: 168
  • sloc: python: 699; makefile: 12; sh: 7
file content (12 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

set -e

PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
VERSION=`uscan --verbose --force-download |
    grep "Newest version on remote site is .* local version is .*" |
    head -n 1 |
    sed "s/Newest version on remote site is \([a-z0-9.]\+\),.*/\1/"`

mkdir -p ../tarballs