From 38426387c24a12dda493c3b8d381eb95a2eafdb6 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 3 Jan 2003 15:21:01 +0000 Subject: oops. Use -r, not -f (This used to be commit 33686a2a7d796d782f39da752a4af4b960bb1b59) --- packaging/RedHat/makerpms.sh.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') 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 -- cgit