summaryrefslogtreecommitdiffstats
path: root/redhat/genrpm.sh
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:31:58 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-05-05 11:31:58 +0200
commitf345812d8248f8a1c6a062cb5af470a9f44b0dc0 (patch)
tree1bd02dcd6e60e971a3668a17e3ba7fc395cbde04 /redhat/genrpm.sh
parent48989665dd045400121be9592c525a6731238573 (diff)
downloadtde-packaging-f345812d8248f8a1c6a062cb5af470a9f44b0dc0.tar.gz
tde-packaging-f345812d8248f8a1c6a062cb5af470a9f44b0dc0.zip
RHEL/Fedora: fix build script
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-xredhat/genrpm.sh2
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