summaryrefslogtreecommitdiff
path: root/packaging/RedHat
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-01-03 15:19:51 +0000
committerGerald Carter <jerry@samba.org>2003-01-03 15:19:51 +0000
commiteafdbcc36df59a99ca6f01f761b4ce4c99878f2d (patch)
tree2f9253b0bb6681fbcfd7373e6adb9522ae236eb6 /packaging/RedHat
parentfe0382f186afb212c8f39d73b4d7e28b0adb1a63 (diff)
downloadsamba-eafdbcc36df59a99ca6f01f761b4ce4c99878f2d.tar.gz
samba-eafdbcc36df59a99ca6f01f761b4ce4c99878f2d.tar.bz2
samba-eafdbcc36df59a99ca6f01f761b4ce4c99878f2d.zip
patch from Andrew Bird to correct a few file/directory checks when building
(This used to be commit 8a0fb1a60d923f4392ef1d797f570f7eb990011f)
Diffstat (limited to 'packaging/RedHat')
-rw-r--r--packaging/RedHat/makerpms.sh.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/RedHat/makerpms.sh.tmpl b/packaging/RedHat/makerpms.sh.tmpl
index 31e660d945..287b5dc943 100644
--- a/packaging/RedHat/makerpms.sh.tmpl
+++ b/packaging/RedHat/makerpms.sh.tmpl
@@ -12,9 +12,9 @@
# Note: Under this directory rpm expects to find the same directories that are under the
# /usr/src/redhat directory
#
-if [ -x ~/.rpmmacros ]; then
+if [ -f ~/.rpmmacros ]; then
TOPDIR=`awk '/topdir/ {print $2}' < ~/.rpmmacros`
- if [ z$TOPDIR <> "z" ]; then
+ if [ z$TOPDIR != "z" ]; then
SPECDIR=${TOPDIR}/SPECS
SRCDIR=${TOPDIR}/SOURCES
fi