diff options
author | Gerald Carter <jerry@samba.org> | 2003-01-03 15:21:01 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-01-03 15:21:01 +0000 |
commit | 33686a2a7d796d782f39da752a4af4b960bb1b59 (patch) | |
tree | 7059da69be25281438b41edafefb15266c1b34f4 /packaging/RedHat | |
parent | 8a0fb1a60d923f4392ef1d797f570f7eb990011f (diff) | |
download | samba-33686a2a7d796d782f39da752a4af4b960bb1b59.tar.gz |
oops. Use -r, not -f
Diffstat (limited to 'packaging/RedHat')
-rw-r--r-- | packaging/RedHat/makerpms.sh.tmpl | 2 |
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 |