summaryrefslogtreecommitdiff
path: root/util/gen-tarball.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2005-01-07 21:04:46 -0500
committerTheodore Ts'o <tytso@mit.edu>2005-01-07 21:04:46 -0500
commit1b30d17bf6c22b0fbf047c19cb0335592d6c767d (patch)
tree41a54401a2c79f118155ef0a7bcae3a6a43304b5 /util/gen-tarball.in
parentda83cb6e4833c7c19279d31c31c6c8b5851f17e2 (diff)
downloade2fsprogs-1b30d17bf6c22b0fbf047c19cb0335592d6c767d.tar.gz
When generating tarballs for Debian builds, remove the hyphen in version
numbers such as "1.36-rc1", since Debian can't deal with version numbers with '-' characters in them.
Diffstat (limited to 'util/gen-tarball.in')
-rw-r--r--util/gen-tarball.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/gen-tarball.in b/util/gen-tarball.in
index 1899ff3c..cf162c03 100644
--- a/util/gen-tarball.in
+++ b/util/gen-tarball.in
@@ -56,6 +56,10 @@ case $1 in
deb_vers=`echo $base_ver 0.01 - p | dc`
SRCROOT="e2fsprogs-$deb_vers+$base_ver-WIP-$date_spec"
;;
+ *-rc*)
+ deb_vers=`echo @E2FSPROGS_VERSION@ | sed -e 's/-rc/rc/'`
+ SRCROOT="e2fsprogs-$deb_vers"
+ ;;
*-PLUS)
SRCROOT="e2fsprogs-$base_ver+$date_spec"
;;