{"id":19363,"url":"https://patchwork.libcamera.org/api/patches/19363/?format=json","web_url":"https://patchwork.libcamera.org/patch/19363/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20240104151548.2589-3-laurent.pinchart@ideasonboard.com>","date":"2024-01-04T15:15:42","name":"[libcamera-devel,2/8] utils: update-mojo.sh: Exit immediately on error","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"9cf8a12d08183828cec7c049cbb7f382b1d7ef73","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/19363/mbox/","series":[{"id":4132,"url":"https://patchwork.libcamera.org/api/series/4132/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4132","date":"2024-01-04T15:15:40","name":"libcamera: Update mojo and mojo updater","version":1,"mbox":"https://patchwork.libcamera.org/series/4132/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/19363/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/19363/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 6BF7DC323E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  4 Jan 2024 15:15:46 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7BC9062B5B;\n\tThu,  4 Jan 2024 16:15:45 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C332462B41\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  4 Jan 2024 16:15:42 +0100 (CET)","from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi\n\t[213.243.189.158])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 07832226E;\n\tThu,  4 Jan 2024 16:14:41 +0100 (CET)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1704381345;\n\tbh=COaZoarL8tPyybzE1hzMP4DdBFDzKfNuS0st5xux/Os=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=2jiwNVCVecW3EEomldOx4Rpryw/mlhMzfTKSf0uXMtxnd9dIQ+nB0p2Nov6onAhUt\n\tVuhw0HH+pb2pG7FUj7xKXkiYlVhT2g6LNLQlqlX/1WHvds/a4Z21/aX44p5fUvnixp\n\t2OH4usL4Amys1+R6eb7T61t5aQ0K6IXHbVjtfVpRwbJPHfCpHLBKT7lSJLCBDMeMUF\n\tk2QSFEG5Jz2P6ojUxMbZCx264BjM9YKgR/w9xiG7BN3z4yRZ3fS7XOqvvh+wcXB/E8\n\tA+DL4ZuBTciGvz5VMZprkzFMY3XxbSOalBuSUJS5/iuMR1OvLZvgJrcGYY8NuZD28a\n\tzrTTPQFZBeQHA==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1704381282;\n\tbh=COaZoarL8tPyybzE1hzMP4DdBFDzKfNuS0st5xux/Os=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=v+IUZ2Yte8cT9i5M8HDLyjxWa/gU2LhoOSarQdHTxTKUyn6e1xnVveSXIdSDNQLwR\n\tCI0SoxX7+NCqe/b6Cgxv140Z5I10/HNY86zZHgjr+bCUIbHu1ZC47d3zPuQFcEdcib\n\tgTEpBQbWbQXT9RuR1UV+CQ0DYoqixu5VmqKi+/AU="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"v+IUZ2Yt\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Thu,  4 Jan 2024 17:15:42 +0200","Message-ID":"<20240104151548.2589-3-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.41.0","In-Reply-To":"<20240104151548.2589-1-laurent.pinchart@ideasonboard.com>","References":"<20240104151548.2589-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 2/8] utils: update-mojo.sh: Exit\n\timmediately on error","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Cc":"Khem Raj <raj.khem@gmail.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"If an error occurs there's no point in ignoring it silently and\ncontinuing. Exit immediately.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/update-mojo.sh | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/utils/update-mojo.sh b/utils/update-mojo.sh\nindex 967d139a3f70..831f5ab8753b 100755\n--- a/utils/update-mojo.sh\n+++ b/utils/update-mojo.sh\n@@ -3,6 +3,8 @@\n # SPDX-License-Identifier: GPL-2.0-or-later\n # Update mojo copy from a chromium source tree\n \n+set -e\n+\n if [ $# != 1 ] ; then\n \techo \"Usage: $0 <chromium dir>\"\n \texit 1\n","prefixes":["libcamera-devel","2/8"]}