Message ID | 1381522338-30673-1-git-send-email-ryan.arnold@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCJYLNOGSUHRBRNX4GJAKGQEK5VRGQA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f71.google.com (mail-qa0-f71.google.com [209.85.216.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 85B322611D for <linaro@patches.linaro.org>; Fri, 11 Oct 2013 20:12:53 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id w8sf2753005qac.10 for <linaro@patches.linaro.org>; Fri, 11 Oct 2013 13:12:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=NgNNI/dWuDzDAy2cxnTZd1TkHPxe4X8eGRM5iGVuSw4=; b=F4lroDCOzLyguCQrWgacZvpKAEv0UgHHv7exJ39qp5TsUp2F7TnD9W6mSDUGP9CSpV m7mBz07j7Y/e1JBZRQ3g8Uyrok1JdEwiC7IV+zNJlAOMRG5Fkv/NB171DDZ11HKoMddx vz01mJ+QuQsSxMxEdqzClA88fc6TkRMBcFYp9xUQ7QXjjb5mv0dLoIfZdtXXuRzl9Nep R7g01Crnj3bVrkAFwTr50A/tcu7Zbna76ppsAeJAQ2hw6opwH4hK0omegKhsrKKF0dgH tmrzD2x1BPWNClIfspfDmxKCe/xvRHC7RMoARPKqlXXwJ0HwkwX7y8OfRwhZkefZpHE5 JF3g== X-Received: by 10.224.11.7 with SMTP id r7mr4199409qar.7.1381522373053; Fri, 11 Oct 2013 13:12:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.99.67 with SMTP id eo3ls1629311qeb.41.gmail; Fri, 11 Oct 2013 13:12:52 -0700 (PDT) X-Received: by 10.220.110.6 with SMTP id l6mr2746236vcp.28.1381522372903; Fri, 11 Oct 2013 13:12:52 -0700 (PDT) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id ed9si17319191vcb.6.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 13:12:52 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id ia6so2183925vcb.20 for <patchwork-forward@linaro.org>; Fri, 11 Oct 2013 13:12:51 -0700 (PDT) X-Gm-Message-State: ALoCoQk2Gdhb5c+COvjsgKgqyPG66PLVx+FoMf9iCFs/HhF1BES1Qt4hjkpwGkjiQVy0Okjbd6cr X-Received: by 10.220.75.73 with SMTP id x9mr1747944vcj.38.1381522371837; Fri, 11 Oct 2013 13:12:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp66942vcz; Fri, 11 Oct 2013 13:12:51 -0700 (PDT) X-Received: by 10.50.17.97 with SMTP id n1mr4049981igd.51.1381522371022; Fri, 11 Oct 2013 13:12:51 -0700 (PDT) Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) by mx.google.com with ESMTPS id jb1si6950147icb.5.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Oct 2013 13:12:50 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.223.181 is neither permitted nor denied by best guess record for domain of ryan.arnold@linaro.org) client-ip=209.85.223.181; Received: by mail-ie0-f181.google.com with SMTP id tp5so9083139ieb.26 for <patches@linaro.org>; Fri, 11 Oct 2013 13:12:50 -0700 (PDT) X-Received: by 10.42.63.194 with SMTP id d2mr12376478ici.10.1381522370217; Fri, 11 Oct 2013 13:12:50 -0700 (PDT) Received: from badwing.hsd1.mn.comcast.net. (c-71-195-40-9.hsd1.mn.comcast.net. [71.195.40.9]) by mx.google.com with ESMTPSA id m1sm4679998igj.10.2013.10.11.13.12.48 for <multiple recipients> (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Fri, 11 Oct 2013 13:12:49 -0700 (PDT) From: "Ryan S. Arnold" <ryan.arnold@linaro.org> To: Rob Savoye <rob.savoye@linaro.org> Cc: patches@linaro.org, "Ryan S. Arnold" <ryan.arnold@linaro.org> Subject: [PATCH][test_fetch_md5sums 1/2] lib/fetch.sh: Add missing ${local_snapshots} to md5sum path. Date: Fri, 11 Oct 2013 15:12:17 -0500 Message-Id: <1381522338-30673-1-git-send-email-ryan.arnold@linaro.org> X-Mailer: git-send-email 1.8.3.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ryan.arnold@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/lib/fetch.sh b/lib/fetch.sh index d2e5d72..7505813 100755 --- a/lib/fetch.sh +++ b/lib/fetch.sh @@ -37,7 +37,7 @@ fetch() cp -f ${local_snapshots}/md5sums ${local_snapshots}/md5sums.bak fi fetch_http md5sums - if test ! -s md5sums; then + if test ! -s ${local_snapshots}/md5sums; then cp -f ${local_snapshots}/md5sums.bak ${local_snapshots}/md5sums fi return $?
From: "Ryan S. Arnold" <ryan.arnold@linaro.org> The code would generate a spurious cp error due to a missing ${local_snapshots} directory in the md5sums path. --- lib/fetch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)