From f345812d8248f8a1c6a062cb5af470a9f44b0dc0 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Sat, 5 May 2012 11:31:58 +0200 Subject: RHEL/Fedora: fix build script --- redhat/genrpm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redhat/genrpm.sh') 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 -- cgit v1.2.1