packaging(RHEL-CTDB): fix typo in makerpms.sh
authorMichael Adam <obnox@samba.org>
Mon, 15 Sep 2008 14:15:42 +0000 (16:15 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 11 Dec 2008 16:53:45 +0000 (17:53 +0100)
Michael
(cherry picked from commit 5fc5e82d4c2c386894fde95f94992171620c7853)
(cherry picked from commit 0e35ff0b46be2f9deab6e539c34970c85c3b58ce)

packaging/RHEL-CTDB/makerpms.sh

index c85b865..50fa96c 100755 (executable)
@@ -53,8 +53,8 @@ if [ $RC -ne 0 ]; then
        exit ${RC}
 fi
 
-RELEASE=$(grep ^Release ${DIRNAME}${SPECFILE} | sed -e 's/^Release:\ \+//')
-VERSION=$(grep ^Version ${DIRNAME}${SPECFILE} | sed -e 's/^Version:\ \+//')
+RELEASE=$(grep ^Release ${DIRNAME}/${SPECFILE} | sed -e 's/^Release:\ \+//')
+VERSION=$(grep ^Version ${DIRNAME}/${SPECFILE} | sed -e 's/^Version:\ \+//')
 
 ##
 ## create the tarball