summaryrefslogtreecommitdiff
path: root/packaging
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
commit33686a2a7d796d782f39da752a4af4b960bb1b59 (patch)
tree7059da69be25281438b41edafefb15266c1b34f4 /packaging
parent8a0fb1a60d923f4392ef1d797f570f7eb990011f (diff)
downloadsamba-33686a2a7d796d782f39da752a4af4b960bb1b59.tar.gz
oops. Use -r, not -f
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 287b5dc9437..9d71452db8e 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