summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-01-03 15:21:01 +0000
committerGerald Carter <jerry@samba.org>2003-01-03 15:21:01 +0000
commit38426387c24a12dda493c3b8d381eb95a2eafdb6 (patch)
treee9ec5da36c0066f08d89c38a5046468803ef8b61
parenteafdbcc36df59a99ca6f01f761b4ce4c99878f2d (diff)
downloadsamba-38426387c24a12dda493c3b8d381eb95a2eafdb6.tar.gz
samba-38426387c24a12dda493c3b8d381eb95a2eafdb6.tar.bz2
samba-38426387c24a12dda493c3b8d381eb95a2eafdb6.zip
oops. Use -r, not -f
(This used to be commit 33686a2a7d796d782f39da752a4af4b960bb1b59)
-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 287b5dc943..9d71452db8 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 [ -f ~/.rpmmacros ]; then
+if [ -r ~/.rpmmacros ]; then
TOPDIR=`awk '/topdir/ {print $2}' < ~/.rpmmacros`
if [ z$TOPDIR != "z" ]; then
SPECDIR=${TOPDIR}/SPECS