From 9c689ecd16eab03d3f63fcdfad1de81d49705a0b Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 3 Jan 2003 15:19:29 +0000 Subject: [PATCH] patch from Andrew Bird to correct a few file/directory checks when building --- packaging/RedHat/makerpms.sh.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/RedHat/makerpms.sh.tmpl b/packaging/RedHat/makerpms.sh.tmpl index 31e660d9450..287b5dc9437 100644 --- a/packaging/RedHat/makerpms.sh.tmpl +++ b/packaging/RedHat/makerpms.sh.tmpl @@ -12,9 +12,9 @@ # Note: Under this directory rpm expects to find the same directories that are under the # /usr/src/redhat directory # -if [ -x ~/.rpmmacros ]; then +if [ -f ~/.rpmmacros ]; then TOPDIR=`awk '/topdir/ {print $2}' < ~/.rpmmacros` - if [ z$TOPDIR <> "z" ]; then + if [ z$TOPDIR != "z" ]; then SPECDIR=${TOPDIR}/SPECS SRCDIR=${TOPDIR}/SOURCES fi -- 2.11.4.GIT