From c796878e402cf56cd500d0657ec359863fe16bf3 Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 16 Dec 2009 23:44:26 +0000 Subject: Make vidix/pci_db2c.awk executable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30047 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/pci_db2c.awk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 vidix/pci_db2c.awk diff --git a/vidix/pci_db2c.awk b/vidix/pci_db2c.awk old mode 100644 new mode 100755 index 1f948a5d76..039bf0f55a --- a/vidix/pci_db2c.awk +++ b/vidix/pci_db2c.awk @@ -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]; -- cgit v1.2.3