r47903 - /people/ansgar/source-v3/libcatalyst-modules-perl/debian/rename-tarballs
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Sun Nov 29 07:40:35 UTC 2009
Author: ansgar-guest
Date: Sun Nov 29 07:40:27 2009
New Revision: 47903
URL: http://svn.debian.org/wsvn/?sc=1&rev=47903
Log:
get source package name from debian/control
Modified:
people/ansgar/source-v3/libcatalyst-modules-perl/debian/rename-tarballs
Modified: people/ansgar/source-v3/libcatalyst-modules-perl/debian/rename-tarballs
URL: http://svn.debian.org/wsvn/people/ansgar/source-v3/libcatalyst-modules-perl/debian/rename-tarballs?rev=47903&op=diff
==============================================================================
--- people/ansgar/source-v3/libcatalyst-modules-perl/debian/rename-tarballs (original)
+++ people/ansgar/source-v3/libcatalyst-modules-perl/debian/rename-tarballs Sun Nov 29 07:40:27 2009
@@ -1,7 +1,5 @@
#! /bin/sh
set -e
-
-package=libcatalyst-modules-perl
usage() {
echo >&2 "usage: sh debian/rename-tarballs <old-version> <new-version>"
@@ -9,6 +7,8 @@
exit ${1+0}
}
+
+package=$( awk '/^Source: / { print $2 }' <debian/control )
if [ $# = 2 ] ; then
old="$1"
More information about the Pkg-perl-cvs-commits
mailing list