Debian lenny version packages
[pkg-perl] / scripts / edit-release.sh~
1 #!/bin/bash
2 # Usage
3 # Accepts a debian/changelog file as input
4 # Example
5 #  $0 libcompress-raw-zlib-perl/libcompress-raw-zlib-perl-2.012/debian/changelog
6
7 basedir=`dirname $0`
8         
9 help() {
10      cat <<EOF
11 $0 <list of debian/changelog files to modify>
12
13 Example:
14
15 $0 libcompress-raw-zlib-perl/libcompress-raw-zlib-perl-2.012/debian/changelog
16
17 EOF
18
19 }
20
21 if [ $# -eq 0 ]; then
22    help
23 fi
24 for i in $@; do
25     $basedir/edit-release.pl $i
26 done