From patchwork Fri Jun 22 05:42:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 166506 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 4BDD8B6F6E for ; Fri, 22 Jun 2012 15:44:45 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CEACE8A2FA; Fri, 22 Jun 2012 05:44:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bnR5rjFy+48d; Fri, 22 Jun 2012 05:44:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id CB54E8CA0F; Fri, 22 Jun 2012 05:44:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 605A78F753 for ; Fri, 22 Jun 2012 05:43:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3C6EB8C9EF for ; Fri, 22 Jun 2012 05:43:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XEU0jAOTJ0MF for ; Fri, 22 Jun 2012 05:43:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ey0-f171.google.com (mail-ey0-f171.google.com [209.85.215.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 091098CA30 for ; Fri, 22 Jun 2012 05:43:22 +0000 (UTC) Received: by eaaa12 with SMTP id a12so805334eaa.16 for ; Thu, 21 Jun 2012 22:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:content-transfer-encoding:subject :x-mercurial-node:message-id:in-reply-to:references:user-agent:date :from:to:cc; bh=jzMjTtxHmxHQmdYsvzqZag3Pu1caKd6UBs5lHvZOaag=; b=UciZRGqGxhteVX7Gkh5XW3C20arLjaWxOhlZWg05jaZco9Q1pnk+OYmTQH65nprwdq pzwjhqgxZunRheuzphb0PC+i6KRoipJWoL7xdQeXqz+7bhr2H48fz9sZuO2hFQz4My/O yCQILWaulKWdqDGnFySodIUYM8VRvtxFqtRXgxrLvpA7higPDdm7LyMzld5HDlS9hGfv B1hjCqS0qbT4HX8YxqdZPV26lA32SRuLT6pLwulsPGO7qhJIFwKWio1iB5OWyAAYNmuO at6Z5zrnUPusAKXW51/WQc0RSWxgsiRCfBtqHyywsFyU5cMP9fUDd6/Jo1TbPysBZoH8 wfKg== Received: by 10.14.47.144 with SMTP id t16mr149621eeb.172.1340343800924; Thu, 21 Jun 2012 22:43:20 -0700 (PDT) Received: from [127.0.1.1] (d54C62EEB.access.telenet.be. [84.198.46.235]) by mx.google.com with ESMTPS id c51sm109212458eei.12.2012.06.21.22.43.19 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Jun 2012 22:43:20 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: b387bac066924704f2ccf749c7d81548ded5a14a Message-Id: In-Reply-To: References: User-Agent: Mercurial-patchbomb/2.0.2 Date: Fri, 22 Jun 2012 07:42:35 +0200 From: Thomas De Schampheleire To: buildroot@busybox.net Subject: [Buildroot] [PATCH 2 of 6 resend] pkg-download.mk: use stripurischeme function in localfiles download method X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Thomas De Schampheleire Acked-by: Arnout Vandecappelle (Essensium/Mind) --- package/pkg-download.mk | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/pkg-download.mk b/package/pkg-download.mk --- a/package/pkg-download.mk +++ b/package/pkg-download.mk @@ -175,11 +175,11 @@ endef define DOWNLOAD_LOCALFILES test -e $(DL_DIR)/$(2) || \ - $(LOCALFILES) $(call qstrip,$(subst file://,,$(1))) $(DL_DIR) + $(LOCALFILES) $(call stripurischeme,$(call qstrip,$(1))) $(DL_DIR) endef define SOURCE_CHECK_LOCALFILES - test -e $(call qstrip,$(subst file://,,$(1))) + test -e $(call stripurischeme,$(call qstrip,$(1))) endef define SHOW_EXTERNAL_DEPS_LOCALFILES