1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

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)
This commit is contained in:
John Terpstra 2002-12-02 00:37:55 +00:00
parent 755893ba3c
commit aef4047b24

View 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