File: get-orig-source

package info (click to toggle)
mobyle-tutorials 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 96 kB
  • sloc: xml: 616; sh: 7; makefile: 4
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