diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-08-09 12:11:39 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-08-09 12:11:39 +0200 |
commit | 3fb79c5fd70b0ca33f29f2ad6d4c0ac004a1169c (patch) | |
tree | 4deeae0ddf5f85932ac82197e36fbb83ad27096f /redhat/genrpm.sh | |
parent | 86c48cec51f59dd8b6f693fbc4d01817d6f91f96 (diff) | |
download | tde-packaging-3fb79c5fd70b0ca33f29f2ad6d4c0ac004a1169c.tar.gz tde-packaging-3fb79c5fd70b0ca33f29f2ad6d4c0ac004a1169c.zip |
RHEL/Fedora: update build script
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-x | redhat/genrpm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh index 8aeee8f7b..9decbeb12 100755 --- a/redhat/genrpm.sh +++ b/redhat/genrpm.sh @@ -57,7 +57,7 @@ VERSION=$( awk '{ if ($1 == "'${COMP}'") { print $2; } }' components.txt ) # If no version is set in text file, get version number from source tarball name if [ -z "${VERSION}" ]; then if [ -n "${REQVERSION}" ]; then - set $( cd "${COMP}"; echo ${COMP##*/}*-${REQVERSION}.tar.gz) + set $( cd "${COMP}"; echo ${COMP##*/}*-${REQVERSION%-sru}*.tar.gz) else set $( cd "${COMP}"; echo ${COMP##*/}*.tar.* ) fi |