Changed conditional in .rpmmacros from -x to -r.
authorJohn Terpstra <jht@samba.org>
Mon, 2 Dec 2002 00:37:55 +0000 (00:37 +0000)
committerJohn Terpstra <jht@samba.org>
Mon, 2 Dec 2002 00:37:55 +0000 (00:37 +0000)
ie: From 'exists and is exexuctable' to 'exists and is readable'

packaging/RedHat/makerpms.sh.tmpl

index 31e660d945017a56d4f1021b786896f5118375dc..88c0c1562d81497f36739029441a2d2fd940fef1 100644 (file)
@@ -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