summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-12-01 23:19:02 +0100
committerKarolin Seeger <kseeger@samba.org>2008-12-12 14:48:14 +0100
commit4b6986d5f0d9af172a48ae148a95f2c61d64cc9f (patch)
tree5cde9e51f24af393a9be500671fca69094c3a58f /packaging
parent6b9cc1b45ab7769a99b36725eccff8e7b1ea6853 (diff)
downloadsamba-4b6986d5f0d9af172a48ae148a95f2c61d64cc9f.tar.gz
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 e1eee81e45c..8a583a9bde4 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"