packaging(RHEL-CTDB): fix typo in makerpms.sh
[jra/samba/.git] / packaging / RHEL-CTDB / makerpms.sh
index c85b865f790092e9b0d11f7d00a633e8e4e7acc9..50fa96c2b11248827c7d496bfad556b8ed54abf8 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