From patchwork Fri Nov 15 06:51:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luigi Rizzo X-Patchwork-Id: 291483 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5454B2C00D0 for ; Fri, 15 Nov 2013 17:52:02 +1100 (EST) Received: from localhost ([::1]:59032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhDG3-0000t1-0D for incoming@patchwork.ozlabs.org; Fri, 15 Nov 2013 01:51:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhDFi-0000su-52 for qemu-devel@nongnu.org; Fri, 15 Nov 2013 01:51:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhDFh-0002Rf-3m for qemu-devel@nongnu.org; Fri, 15 Nov 2013 01:51:38 -0500 Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:58030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhDFg-0002Qr-Lq; Fri, 15 Nov 2013 01:51:37 -0500 Received: by mail-la0-f51.google.com with SMTP id ec20so2420742lab.38 for ; Thu, 14 Nov 2013 22:51:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=tinTt4ulJYkUkaNDD23nyeltW7WWvEIUu3So1dj6e/c=; b=jVNzqH6ua4a1IzAjlJWlNDp9uHnKII3iUi4a62tnspXOLAfJuEd7AGpWJs5tZLf1iY Tdd/FGxDheEVAUA2EdEr6XpyGXWv+YPLF4c3ef82WyPfKxUkrE5HcLvjJgXJBT+yD6Gy aFq6/TOyxVrZ0czdr5VeN3kV9PS+ZcV0DnnQr1sOcyHcUq4Fk9jKgJMavJVxZjSgv6DG 4zmpI1qNSxspWUZ5c17yYNeK3xGNZi/+i+fi0nCCw+sFf2mWJd46btBPi2O5NarECWuY wETvpoLG8vbpSsaLQBbKjqhDEFv835GVjjKEl1kSATzmHgfNndhaZ7HI2MF2Fieqmrww Dk4Q== MIME-Version: 1.0 X-Received: by 10.112.154.129 with SMTP id vo1mr430265lbb.31.1384498294588; Thu, 14 Nov 2013 22:51:34 -0800 (PST) Received: by 10.114.77.228 with HTTP; Thu, 14 Nov 2013 22:51:34 -0800 (PST) Date: Fri, 15 Nov 2013 07:51:34 +0100 X-Google-Sender-Auth: xvJEI1MmCXOe2ATUQuucITzA54s Message-ID: From: Luigi Rizzo To: qemu-devel X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::233 Cc: qemu-trivial@nongnu.org Subject: [Qemu-devel] [PATCH] better interpreter specification for scripts X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org some of the new scripts in scripts/ specify a interpreter path which is not always pointing to the right place. I see that an alternative format is also being used #!/usr/bin/env which seems to work better. The patch below is merely to let master compile on FreeBSD, but there are other offending files that can be found with grep '#!' scripts/* Signed-off-by: Luigi Rizzo --- scripts/acpi_extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.1.2 diff --git a/scripts/acpi_extract.py b/scripts/acpi_extract.py index 22ea468..66c1b3e 100755 --- a/scripts/acpi_extract.py +++ b/scripts/acpi_extract.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin # # This program is free software; you can redistribute it and/or modify