diff options
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-x | redhat/genrpm.sh | 1 |
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)" |