diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-05-05 11:31:58 +0200 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-05-05 11:31:58 +0200 |
commit | f345812d8248f8a1c6a062cb5af470a9f44b0dc0 (patch) | |
tree | 1bd02dcd6e60e971a3668a17e3ba7fc395cbde04 /redhat/genrpm.sh | |
parent | 48989665dd045400121be9592c525a6731238573 (diff) | |
download | tde-packaging-f345812d8248f8a1c6a062cb5af470a9f44b0dc0.tar.gz tde-packaging-f345812d8248f8a1c6a062cb5af470a9f44b0dc0.zip |
RHEL/Fedora: fix 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 20f8d45ce..57e0ebad6 100755 --- a/redhat/genrpm.sh +++ b/redhat/genrpm.sh @@ -6,7 +6,7 @@ while [ $# -gt 0 ]; do case "$1" in "--auto") AUTO=1;; "--version") REQVERSION="$2"; shift;; - *) COMP="$1";; + *) COMP="${1%%/}";; esac shift done |