Skip to content

Commit

Permalink
ver_linux: Use /usr/bin/awk instead of /bin/awk
Browse files Browse the repository at this point in the history
Most Linux distributions contain awk in /usr/bin by default,
not in /bin. This script's suggested use is for creating version
information for bug reporting.

This has been tested on a number of different distributions,
including Fedora, Ubuntu, OpenSUSE, Debian, Centos, Arch Linuxi,
and Poky!

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Reviewed-by: Alexander Kapshuk <alexander.kapshuk@gmail.com>
Reviewed-by: Mark Gross <mgross@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Saul Wold authored and Greg Kroah-Hartman committed Apr 8, 2017
1 parent 7064dc7 commit 8af11c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ver_linux
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/awk -f
#!/usr/bin/awk -f
# Before running this script please ensure that your PATH is
# typical as you use for compilation/installation. I use
# /bin /sbin /usr/bin /usr/sbin /usr/local/bin, but it may
Expand Down

0 comments on commit 8af11c1

Please sign in to comment.