summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>2002-12-02 00:37:55 +0000
committerJohn Terpstra <jht@samba.org>2002-12-02 00:37:55 +0000
commitaef4047b24380133c018e374dcb87c098eb18361 (patch)
tree970619fb6563d89190a5a1fc4661d8590baffca0 /packaging
parent755893ba3ced5367270cf0934e8bb95788eb759f (diff)
downloadsamba-aef4047b24380133c018e374dcb87c098eb18361.tar.gz
samba-aef4047b24380133c018e374dcb87c098eb18361.tar.bz2
samba-aef4047b24380133c018e374dcb87c098eb18361.zip
Changed conditional in .rpmmacros from -x to -r.
ie: From 'exists and is exexuctable' to 'exists and is readable' (This used to be commit 6076d9345fe30b4ea2c7429e750f9d32b0264247)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RedHat/makerpms.sh.tmpl2
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