From patchwork Thu Jul 30 21:25:56 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Albert X-Patchwork-Id: 38396 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6ULTSDM031523 for ; Thu, 30 Jul 2009 21:29:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752907AbZG3V0A (ORCPT ); Thu, 30 Jul 2009 17:26:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752995AbZG3VZ7 (ORCPT ); Thu, 30 Jul 2009 17:25:59 -0400 Received: from mail.gmx.net ([213.165.64.20]:36179 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752886AbZG3VZ6 (ORCPT ); Thu, 30 Jul 2009 17:25:58 -0400 Received: (qmail invoked by alias); 30 Jul 2009 21:25:56 -0000 Received: from e179091044.adsl.alicedsl.de (EHLO [192.168.2.105]) [85.179.91.44] by mail.gmx.net (mp016) with SMTP; 30 Jul 2009 23:25:56 +0200 X-Authenticated: #3800222 X-Provags-ID: V01U2FsdGVkX1+o7wEcE9Soz8yA6h6Kg2stp0vbElRzcec+f/cas2 jpyIO2S7s/PMUy Message-ID: <4A720FE4.4020301@gmx.de> Date: Thu, 30 Jul 2009 23:25:56 +0200 From: Joerg Albert User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: "Luis R. Rodriguez" CC: "linux-wireless@vger.kernel.org" Subject: [PATCH] compat-2.6: Makefile: fixed test expressions for target install X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This removes the two errors of [ with target "install" make[1]: Leaving directory `/home/joerg/src/linux-2.6.30' [: 9: missing ] [: 9: missing ] depmod will prefer updates/ over kernel/ -- OK! Signed-off-by: Joerg Albert --- Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 62eb5db..90279c9 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,7 @@ install-scripts: @install scripts/athload $(DESTDIR)/usr/sbin/ @install scripts/b43load $(DESTDIR)/usr/sbin/ @install scripts/iwl-load $(DESTDIR)/usr/sbin/ - @if [ ! -z $(MADWIFI) && -z "$(DESTDIR)" ]; then \ + @if [ ! -z "$(MADWIFI)" -a -z "$(DESTDIR)" ]; then \ echo ;\ echo -n "Note: madwifi detected, we're going to disable it. " ;\ echo "If you would like to enable it later you can run:" ;\ @@ -89,7 +89,7 @@ install-scripts: echo Running athenable ath5k...;\ /usr/sbin/athenable ath5k ;\ fi - @if [ ! -z $(OLD_IWL) && -z "$(DESTDIR)" ]; then \ + @if [ ! -z "$(OLD_IWL)" -a -z "$(DESTDIR)" ]; then \ echo ;\ echo -n "Note: iwl4965 detected, we're going to disable it. " ;\ echo "If you would like to enable it later you can run:" ;\