diff options
-rw-r--r-- | packaging/RedHat/makerpms.sh.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/RedHat/makerpms.sh.tmpl b/packaging/RedHat/makerpms.sh.tmpl index 31e660d945..88c0c1562d 100644 --- a/packaging/RedHat/makerpms.sh.tmpl +++ b/packaging/RedHat/makerpms.sh.tmpl @@ -12,7 +12,7 @@ # Note: Under this directory rpm expects to find the same directories that are under the # /usr/src/redhat directory # -if [ -x ~/.rpmmacros ]; then +if [ -r ~/.rpmmacros ]; then TOPDIR=`awk '/topdir/ {print $2}' < ~/.rpmmacros` if [ z$TOPDIR <> "z" ]; then SPECDIR=${TOPDIR}/SPECS |