File: new_upstream.sh

package info (click to toggle)
avr-libc 1%3A2.0.0%2BAtmel3.6.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 92,996 kB
  • sloc: ansic: 424,264; asm: 8,502; sh: 6,014; makefile: 1,231; python: 1,009; perl: 509; pascal: 460; cpp: 11
file content (16 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

if [ $# -ne 1 ]; then 
    echo Usage: $0  '<version>'
    echo Exmpl: $0 2.0.0+Atmel3.5.4
    exit -1
fi


mkdir ../avr-libc-$1".orig"
cp  avr8-headers.zip avr-libc.tar.bz2 ../avr-libc-$1".orig"
dch -v "1:"$1"-1" New upstream release
dch -r ok
echo
echo Now update debian/control
echo