From patchwork Mon Aug 10 10:07:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 52211 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id E2D272152A for ; Mon, 10 Aug 2015 10:11:25 +0000 (UTC) Received: by lagz9 with SMTP id z9sf40523374lag.3 for ; Mon, 10 Aug 2015 03:11:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:content-type:content-transfer-encoding:errors-to :sender:x-original-sender:x-original-authentication-results :mailing-list; bh=Pe+zQyfQ7ZcrnXnRlgncIOHRwZ2G58t51ehk7oAiOw4=; b=AE2UfVW6mjejsnjHLa7wy+aBAPwZBut/TU07WugIkE6Cob98V3MnkUYyW8DYUfLyKv uHXKszTaTbtSDU/YINF7H8bth/YAo2F/fCn2j9tNHTd4IQFpCjAzL/b5Xah3dpK8Rzhe hS2n7SL+uupnpZgOfitNf6kVZHQwYZ6iRnKiAPeQKMnm1Ye7F6QjOzFOO71UUFjRrUDe qdmqPn6RsPDmL58yzu6cu1vWLAEfeA8DAO85IMcdrmCRuQzRlblPauzjrfxBdzivDYYk x2dEhQuXutsF6Oq92ytaAhsZT4Q168e27J62yueGGEUQYm8ac2AcLYzRS8/vq2tdvFBo nKFQ== X-Gm-Message-State: ALoCoQlnC9orTIF/PBSwHqklHFPdixkh6y0Hq2yxkhi6FK7MwPEYHVuz3oDTzmSs3QE7mUPG7rQl X-Received: by 10.152.1.164 with SMTP id 4mr69928lan.2.1439201484891; Mon, 10 Aug 2015 03:11:24 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.234 with SMTP id w10ls713321lag.41.gmail; Mon, 10 Aug 2015 03:11:24 -0700 (PDT) X-Received: by 10.152.18.232 with SMTP id z8mr19715399lad.66.1439201484745; Mon, 10 Aug 2015 03:11:24 -0700 (PDT) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id 4si11820295laz.170.2015.08.10.03.11.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Aug 2015 03:11:24 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by lbbpo9 with SMTP id po9so92376286lbb.2 for ; Mon, 10 Aug 2015 03:11:24 -0700 (PDT) X-Received: by 10.112.125.34 with SMTP id mn2mr17779284lbb.76.1439201484343; Mon, 10 Aug 2015 03:11:24 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1836314lba; Mon, 10 Aug 2015 03:11:23 -0700 (PDT) X-Received: by 10.140.218.6 with SMTP id o6mr38724552qhb.26.1439201483014; Mon, 10 Aug 2015 03:11:23 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x19si32706234qgx.104.2015.08.10.03.11.22; Mon, 10 Aug 2015 03:11:22 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 4E26961D51; Mon, 10 Aug 2015 10:11:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id C997161D73; Mon, 10 Aug 2015 10:10:05 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 255AC61B38; Mon, 10 Aug 2015 10:10:01 +0000 (UTC) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by lists.linaro.org (Postfix) with ESMTPS id BF89261587 for ; Mon, 10 Aug 2015 10:09:58 +0000 (UTC) Received: by lbbpu9 with SMTP id pu9so64741236lbb.3 for ; Mon, 10 Aug 2015 03:09:57 -0700 (PDT) X-Received: by 10.152.206.75 with SMTP id lm11mr15900641lac.11.1439201397592; Mon, 10 Aug 2015 03:09:57 -0700 (PDT) Received: from localhost (c-b03670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.176]) by smtp.gmail.com with ESMTPSA id c5sm4127123lae.47.2015.08.10.03.09.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Aug 2015 03:09:56 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Mon, 10 Aug 2015 12:07:26 +0200 Message-Id: <1439201248-12253-3-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1439201248-12253-1-git-send-email-anders.roxell@linaro.org> References: <1439201248-12253-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 2/4] scritps/git_hash: change repo to CUSTOM_STR X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 other platforms should export CUSTOM_STR in their platform//Makefile.am Signed-off-by: Anders Roxell --- scripts/git_hash.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/git_hash.sh b/scripts/git_hash.sh index 48ae24e..6cfec2f 100755 --- a/scripts/git_hash.sh +++ b/scripts/git_hash.sh @@ -6,14 +6,14 @@ if [ -z ${1} ]; then fi ROOTDIR=${1} -repo=https://git.linaro.org/lng/odp.git +CUSTOM_STR=${CUSTOM_STR:-https://git.linaro.org/lng/odp.git} if [ -d ${ROOTDIR}/.git ]; then hash=$(git describe | tr -d "\n") if git diff-index --name-only HEAD &>/dev/null ; then dirty=-dirty fi - echo -n "'${repo}' (${hash}${dirty})">${ROOTDIR}/.scmversion + echo -n "'${CUSTOM_STR}' (${hash}${dirty})">${ROOTDIR}/.scmversion fi cat ${ROOTDIR}/.scmversion