summaryrefslogtreecommitdiffstats
path: root/src/deb.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-07-29 09:23:41 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-07-29 09:23:41 (EDT)
commit0fcdb49c4631b856f108a1d5021c81b9c637968d (patch)
tree05b9d7245c3d7968b2eaf08454d82646d73a3a89 /src/deb.sh
parentbf0332ebb37d31b21bae6038bb15ad519113ffa9 (diff)
downloaddeb-master.zip
deb-master.tar.gz
deb-master.tar.bz2
Remove epoch from version.HEADmaster
Diffstat (limited to 'src/deb.sh')
-rwxr-xr-xsrc/deb.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deb.sh b/src/deb.sh
index e009eb9..bc4835c 100755
--- a/src/deb.sh
+++ b/src/deb.sh
@@ -340,7 +340,7 @@ EOF
# Get source package version from work area.
verrev="$(dpkg-parsechangelog | sed -n 's/^Version: \(.*\)$/\1/p')"
- pkgverrev="${pkg}_${verrev}"
+ pkgverrev="${pkg}_${verrev#*:}"
ver="${verrev%-*}"
rev="${verrev#*-}"