All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] better interpreter specification for scripts
@ 2013-11-15  6:51 ` Luigi Rizzo
  0 siblings, 0 replies; 4+ messages in thread
From: Luigi Rizzo @ 2013-11-15  6:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial

[-- Attachment #1: Type: text/plain, Size: 878 bytes --]

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 <interpreter_name>
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 <rizzo@iet.unipi.it>
---
 scripts/acpi_extract.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 <mst@redhat.com>
 #
 # This program is free software; you can redistribute it and/or modify
--
1.8.1.2

[-- Attachment #2: Type: text/html, Size: 3162 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-15  7:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-15  6:51 [Qemu-trivial] [PATCH] better interpreter specification for scripts Luigi Rizzo
2013-11-15  6:51 ` [Qemu-devel] " Luigi Rizzo
2013-11-15  7:01 ` [Qemu-trivial] " Stefan Weil
2013-11-15  7:01   ` Stefan Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.