summaryrefslogtreecommitdiffstats
path: root/redhat/genrpm.sh
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-08-04 22:17:21 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-08-04 22:17:21 +0200
commit23921d42c670b601f623ddf441bdddde446ddefc (patch)
tree6bb9ba394ed8bb782f68c4b651b84f20b189b4df /redhat/genrpm.sh
parent7336aed1c1722594a8e8ead94d7d1fec8e578743 (diff)
downloadtde-packaging-23921d42c670b601f623ddf441bdddde446ddefc.tar.gz
tde-packaging-23921d42c670b601f623ddf441bdddde446ddefc.zip
MGA2/MDV2012: add some applications ...
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-xredhat/genrpm.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh
index 04b21d382..8aeee8f7b 100755
--- a/redhat/genrpm.sh
+++ b/redhat/genrpm.sh
@@ -73,6 +73,7 @@ if [ -z "${VERSION}" ]; then
fi
VERSION="${VERSION##${COMP##*/}-}"
VERSION="${VERSION%%.tar.gz}"
+ VERSION="${VERSION%%.tar.bz2}"
# If version is defined in spec file: appends the date
else
VERSION="${VERSION}.$(date +%Y%m%d)"