From patchwork Tue Jan 19 06:52:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 73806 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0J6prT9013288 for ; Tue, 19 Jan 2010 06:51:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752712Ab0ASGvw (ORCPT ); Tue, 19 Jan 2010 01:51:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752305Ab0ASGvw (ORCPT ); Tue, 19 Jan 2010 01:51:52 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:40121 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668Ab0ASGvv (ORCPT ); Tue, 19 Jan 2010 01:51:51 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 2DBAD1B40ED; Tue, 19 Jan 2010 06:51:49 +0000 (UTC) From: Mike Frysinger To: Steven Rostedt , linux-kbuild@vger.kernel.org, Andrew Morton Cc: linux-kernel@vger.kernel.org Subject: [PATCH] kconfig: dont hardcode path to lsmod Date: Tue, 19 Jan 2010 01:52:00 -0500 Message-Id: <1263883920-17289-1-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 1.6.6 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 0d80082..e1dfc8c 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl @@ -238,7 +238,7 @@ foreach my $makefile (@makefiles) { my %modules; # see what modules are loaded on this system -open(LIN,"/sbin/lsmod|") || die "Cant lsmod"; +open(LIN,"lsmod|") || die "Cant lsmod"; while () { next if (/^Module/); # Skip the first line. if (/^(\S+)/) {