From patchwork Tue Oct 23 01:32:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 1628321 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 5D95C400E8 for ; Tue, 23 Oct 2012 01:33:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756335Ab2JWBdA (ORCPT ); Mon, 22 Oct 2012 21:33:00 -0400 Received: from mga14.intel.com ([143.182.124.37]:57649 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756320Ab2JWBdA (ORCPT ); Mon, 22 Oct 2012 21:33:00 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 22 Oct 2012 18:32:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.80,632,1344236400"; d="scan'208";a="207739832" Received: from unknown (HELO wfg-t420.sh.intel.com) ([10.255.21.82]) by azsmga001.ch.intel.com with ESMTP; 22 Oct 2012 18:32:58 -0700 Received: from wfg by wfg-t420.sh.intel.com with local (Exim 4.77) (envelope-from ) id 1TQTMX-0005j5-Qc; Tue, 23 Oct 2012 09:32:57 +0800 Date: Tue, 23 Oct 2012 09:32:57 +0800 From: Fengguang Wu To: linux-kbuild Cc: Michal Marek , LKML Subject: [PATCH] kbuild: fix xargs error on make distclean Message-ID: <20121023013257.GA21775@localhost> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org /usr/bin/xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option Signed-off-by: Fengguang Wu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bb9fff2..e5a64cc 100644 --- a/Makefile +++ b/Makefile @@ -1033,7 +1033,7 @@ distclean: mrproper -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ -o -name '.*.rej' \ -o -name '*%' -o -name '.*.cmd' -o -name 'core' \) \ - -type f -print | xargs rm -f + -type f -print0 | xargs -0 rm -f # Packaging of the kernel to various formats