1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

packaging/RHEL-CTDB: try harder to set $RPMVER

metze
This commit is contained in:
Stefan Metzmacher 2012-09-17 18:15:03 +02:00
parent 77f281a6d1
commit 914fc4f265

View File

@ -27,6 +27,9 @@ TOPDIR=${DIRNAME}/../..
SPECFILE="samba.spec"
RPMVER=`rpm --version | awk '{print $3}'`
test -z "$RPMVER" && {
RPMVER=`rpm --version | awk '{print $2}'`
}
RPM="rpmbuild"
##