summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-12-01 23:19:02 +0100
committerMichael Adam <obnox@samba.org>2008-12-11 17:53:47 +0100
commitdfff610b464cb08a07bf235c161c242d16684972 (patch)
treec2130ede1f89a6275cf2f82539171119b22649aa /packaging
parent2ef0fc467a33e1b448853273316a72c3e7e72c47 (diff)
downloadsamba-dfff610b464cb08a07bf235c161c242d16684972.tar.gz
samba-dfff610b464cb08a07bf235c161c242d16684972.tar.bz2
samba-dfff610b464cb08a07bf235c161c242d16684972.zip
packaging(RHEL-CTDB): don't show failure messages in check for ccache
by fixing the order of "> /dev/null 2>&1" Michael (cherry picked from commit 0e9d5638a7c375b3b18f19f83f97924ab45ad382) (cherry picked from commit 6e51f250c5d38e973948aa1d53222bcccdcca365)
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RHEL-CTDB/samba.spec.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/RHEL-CTDB/samba.spec.tmpl b/packaging/RHEL-CTDB/samba.spec.tmpl
index e1eee81e45..8a583a9bde 100644
--- a/packaging/RHEL-CTDB/samba.spec.tmpl
+++ b/packaging/RHEL-CTDB/samba.spec.tmpl
@@ -133,7 +133,7 @@ cd source
# RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
## check for ccache
-if ccache -h 2>&1 > /dev/null ; then
+if ccache -h >/dev/null 2>&1 ; then
CC="ccache gcc"
else
CC="gcc"