r30047 - trunk/vidix/pci_db2c.awk
Author: diego Date: Thu Dec 17 00:44:26 2009 New Revision: 30047 Log: Make vidix/pci_db2c.awk executable. Modified: trunk/vidix/pci_db2c.awk (contents, props changed) Modified: trunk/vidix/pci_db2c.awk ============================================================================== --- trunk/vidix/pci_db2c.awk Wed Dec 16 23:36:17 2009 (r30046) +++ trunk/vidix/pci_db2c.awk Thu Dec 17 00:44:26 2009 (r30047) @@ -1,9 +1,8 @@ +#!/usr/bin/awk -f # This file converts given pci.db to "C" source and header files # For latest version of pci ids see: http://pciids.sf.net # Copyright 2002 Nick Kurshev # -# Usage: awk -f pci_db2c.awk pci.db -# # Tested with Gawk v 3.0.x and Mawk 1.3.3 # But it should work with standard Awk implementations (hopefully). # (Nobody tested it with Nawk, but it should work, too). @@ -28,7 +27,7 @@ BEGIN { if(ARGC != 3) { # check for arguments: - print "Usage awk -f pci_db2c.awk pci.db (and make sure pci.db file exists first)"; + print "Usage ./pci_db2c.awk pci.db (and make sure pci.db file exists first)"; exit(1); } in_file = ARGV[1];
On Thu, 17 Dec 2009 00:44:26 +0100 (CET) diego <subversion@mplayerhq.hu> wrote:
Modified: trunk/vidix/pci_db2c.awk ============================================================================== --- trunk/vidix/pci_db2c.awk Wed Dec 16 23:36:17 2009 (r30046) +++ trunk/vidix/pci_db2c.awk Thu Dec 17 00:44:26 2009 (r30047) @@ -1,9 +1,8 @@ +#!/usr/bin/awk -f
This breaks compilation if awk is installed in /bin instead of /usr/bin (as it is the case on e.g. archlinux) Attila Kinali -- Moslems sind hier nicht erwünscht! -- Das Schweizer Volk
On Sun, 27 Dec 2009 12:48:47 +0100 Attila Kinali <attila@kinali.ch> wrote:
On Thu, 17 Dec 2009 00:44:26 +0100 (CET) diego <subversion@mplayerhq.hu> wrote:
Modified: trunk/vidix/pci_db2c.awk ============================================================================== --- trunk/vidix/pci_db2c.awk Wed Dec 16 23:36:17 2009 (r30046) +++ trunk/vidix/pci_db2c.awk Thu Dec 17 00:44:26 2009 (r30047) @@ -1,9 +1,8 @@ +#!/usr/bin/awk -f
This breaks compilation if awk is installed in /bin instead of /usr/bin (as it is the case on e.g. archlinux)
PS: Diego, is there a reason why you always keep messing with the awk detection/execution? It used to work fine an all systems until you started to "clean" it up. Since then it is only guaranteed to work on systems that you are developing on. Attila Kinali -- Moslems sind hier nicht erwünscht! -- Das Schweizer Volk
On Sun, Dec 27, 2009 at 12:53:07PM +0100, Attila Kinali wrote:
On Sun, 27 Dec 2009 12:48:47 +0100 Attila Kinali <attila@kinali.ch> wrote:
On Thu, 17 Dec 2009 00:44:26 +0100 (CET) diego <subversion@mplayerhq.hu> wrote:
--- trunk/vidix/pci_db2c.awk Wed Dec 16 23:36:17 2009 (r30046) +++ trunk/vidix/pci_db2c.awk Thu Dec 17 00:44:26 2009 (r30047) @@ -1,9 +1,8 @@ +#!/usr/bin/awk -f
This breaks compilation if awk is installed in /bin instead of /usr/bin (as it is the case on e.g. archlinux)
Fixed. Sorry this took so long.
PS: Diego, is there a reason why you always keep messing with the awk detection/execution? It used to work fine an all systems until you started to "clean" it up. Since then it is only guaranteed to work on systems that you are developing on.
You never look at MPlayer code that's why you don't feel an urge to clean it up ;) Diego
participants (3)
-
Attila Kinali -
diego -
Diego Biurrun