From patchwork Mon Feb 20 18:41:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 730148 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3vRt7w1HVZz9s7s for ; Tue, 21 Feb 2017 05:53:46 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1EB8EB3887; Mon, 20 Feb 2017 19:53:40 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id djsVgtvqA2vk; Mon, 20 Feb 2017 19:53:39 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7B7F6A7BC2; Mon, 20 Feb 2017 19:53:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 82D6DA7BC0 for ; Mon, 20 Feb 2017 19:53:04 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zQ9-Pb6Z27Vr for ; Mon, 20 Feb 2017 19:53:03 +0100 (CET) X-Greylist: delayed 549 seconds by postgrey-1.34 at theia; Mon, 20 Feb 2017 19:52:59 CET X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from gagarine.paulk.fr (gagarine.paulk.fr [109.190.93.129]) by theia.denx.de (Postfix) with ESMTPS id 34E13A7BBF for ; Mon, 20 Feb 2017 19:52:59 +0100 (CET) Received: by gagarine.paulk.fr (Postfix, from userid 65534) id B956F20135; Mon, 20 Feb 2017 19:43:49 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on gagarine.paulk.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id C91C81FE65; Mon, 20 Feb 2017 19:43:45 +0100 (CET) From: Paul Kocialkowski To: u-boot@lists.denx.de Date: Mon, 20 Feb 2017 19:41:34 +0100 Message-Id: <20170220184134.25491-1-contact@paulk.fr> X-Mailer: git-send-email 2.11.1 Cc: Tom Rini Subject: [U-Boot] [PATCH] binman: Explicitly request python2 instead of python from env X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" We now live in a world where python cannot be assumed to be python2. As a matter of fact, it is no longer the default for python on many GNU/Linux distributions. Running binman with python3 fails, so explicitly request python2 from env in the shebang for running it. Signed-off-by: Paul Kocialkowski Reviewed-by: Simon Glass --- tools/binman/binman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/binman.py b/tools/binman/binman.py index 4cc431fbbe..25a01d9adb 100755 --- a/tools/binman/binman.py +++ b/tools/binman/binman.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright (c) 2016 Google, Inc # Written by Simon Glass