From patchwork Tue Nov 23 22:25:42 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 351061 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oANML55v023074 for ; Tue, 23 Nov 2010 22:21:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751576Ab0KWWVE (ORCPT ); Tue, 23 Nov 2010 17:21:04 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:50252 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751458Ab0KWWVE (ORCPT ); Tue, 23 Nov 2010 17:21:04 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D3AF41B401A; Tue, 23 Nov 2010 22:21:01 +0000 (UTC) From: Mike Frysinger To: linux-kbuild@vger.kernel.org, Michal Marek Subject: [PATCH] headers_install: check exit status of unifdef Date: Tue, 23 Nov 2010 17:25:42 -0500 Message-Id: <1290551142-18849-1-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 1.7.3.2 MIME-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 23 Nov 2010 22:21:05 +0000 (UTC) diff --git a/scripts/headers_install.pl b/scripts/headers_install.pl index 4ca3be3..00856f1 100644 --- a/scripts/headers_install.pl +++ b/scripts/headers_install.pl @@ -44,7 +44,8 @@ foreach my $file (@files) { close $out; close $in; - system $unifdef . " $tmpfile > $installdir/$file"; + system $unifdef . " $tmpfile > $installdir/$file" + and die "$tmpfile: $!\n"; unlink $tmpfile; } exit 0;