[SCM] SAMBA-CTDB repository - branch v3-2-ctdb updated - build_3.2.3_ctdb.51-4-gc98fb34

Michael Adam obnox at samba.org
Mon Dec 1 22:03:50 GMT 2008


The branch, v3-2-ctdb has been updated
       via  c98fb34ef933944a96a286d2d276cf2adc99e25e (commit)
      from  8d1fe3e39dea0ecadb49e0347eb699c6e76063ff (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-2-ctdb


- Log -----------------------------------------------------------------
commit c98fb34ef933944a96a286d2d276cf2adc99e25e
Author: Michael Adam <obnox at samba.org>
Date:   Mon Dec 1 23:03:38 2008 +0100

    packaging(RHEL-CTDB): fix the build when ccache is not found.
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 packaging/RHEL-CTDB/samba.spec.tmpl |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/packaging/RHEL-CTDB/samba.spec.tmpl b/packaging/RHEL-CTDB/samba.spec.tmpl
index 9f177e2..4c82780 100644
--- a/packaging/RHEL-CTDB/samba.spec.tmpl
+++ b/packaging/RHEL-CTDB/samba.spec.tmpl
@@ -133,8 +133,7 @@ cd source
 # RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
 
 ## check for ccache
-ccache -h 2>&1 > /dev/null
-if [ $? -eq 0 ]; then
+if ccache -h 2>&1 > /dev/null ; then
 	CC="ccache gcc"
 else
 	CC="gcc"


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list