diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-16 23:44:26 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-16 23:44:26 +0000 |
commit | c796878e402cf56cd500d0657ec359863fe16bf3 (patch) | |
tree | 7763e46c6bd1706df501795131e0afeb63ee67e0 | |
parent | 1078baf9aa35ea06428671f17bce93d438b0cb75 (diff) | |
download | mpv-c796878e402cf56cd500d0657ec359863fe16bf3.tar.bz2 mpv-c796878e402cf56cd500d0657ec359863fe16bf3.tar.xz |
Make vidix/pci_db2c.awk executable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30047 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x[-rw-r--r--] | vidix/pci_db2c.awk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vidix/pci_db2c.awk b/vidix/pci_db2c.awk index 1f948a5d76..039bf0f55a 100644..100755 --- 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]; |