diff options
author | Gerald Carter <jerry@samba.org> | 2003-01-03 15:19:51 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-01-03 15:19:51 +0000 |
commit | eafdbcc36df59a99ca6f01f761b4ce4c99878f2d (patch) | |
tree | 2f9253b0bb6681fbcfd7373e6adb9522ae236eb6 /packaging | |
parent | fe0382f186afb212c8f39d73b4d7e28b0adb1a63 (diff) | |
download | samba-eafdbcc36df59a99ca6f01f761b4ce4c99878f2d.tar.gz |
patch from Andrew Bird to correct a few file/directory checks when building
(This used to be commit 8a0fb1a60d923f4392ef1d797f570f7eb990011f)
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/RedHat/makerpms.sh.tmpl | 4 |
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 |