From ebc197834e85a0a284619faa5a422a6a2a6d220a Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 11 Nov 2005 03:05:18 +0000 Subject: [PATCH] Fix double spaces in CFLAGS. Suppress error messages from rpmbuild when calculating the architecture. --- maint/mctest | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maint/mctest b/maint/mctest index dd8afd1a3..ca977838d 100755 --- a/maint/mctest +++ b/maint/mctest @@ -16,8 +16,8 @@ distcheck() { # Add -Wstrict-prototypes after main.h is fixed (always use cpanel). # Maybe add -W if a better way to initialize quick dialogs is found. export CFLAGS="-O2 -Wall -Wno-unused-parameter -Wno-sign-compare \ - -Wmissing-declarations -Wmissing-prototypes -Wbad-function-cast \ - -Wcast-align -Wpointer-arith -Wredundant-decls -Wundef -Wfloat-equal" +-Wmissing-declarations -Wmissing-prototypes -Wbad-function-cast \ +-Wcast-align -Wpointer-arith -Wredundant-decls -Wundef -Wfloat-equal" # Suppress progress indicator export MSGMERGE="msgmerge --quiet" @@ -63,7 +63,7 @@ if test -x $RPMBUILD; then mkdir "$RPM_SRC_DIR" mkdir "$RPM_SRC_DIR/BUILD" mkdir "$RPM_SRC_DIR/RPMS" - mkdir "$RPM_SRC_DIR/RPMS/`$RPMBUILD --eval='%{_host_cpu}'`" + mkdir "$RPM_SRC_DIR/RPMS/`$RPMBUILD --eval='%{_host_cpu}' 2>/dev/null`" mkdir "$RPM_SRC_DIR/SPECS" $RPMBUILD -tb --define="_topdir $RPM_SRC_DIR" mc-*.tar.gz >test-rpm.out 2>test-rpm.err else