summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2017-03-29 00:06:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 18:03:42 +0200
commit8af11c1cdd8fa08217e702b57cf96e9030db52b2 (patch)
treeacfbe0871c934d15961c91d9cc380102d92f7b34 /scripts
parentlkdtm: turn off kcov for lkdtm_rodata_do_nothing: (diff)
downloadlinux-8af11c1cdd8fa08217e702b57cf96e9030db52b2.tar.xz
linux-8af11c1cdd8fa08217e702b57cf96e9030db52b2.zip
ver_linux: Use /usr/bin/awk instead of /bin/awk
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ver_linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ver_linux b/scripts/ver_linux
index 430b201f3e25..b51de8a7e2a3 100755
--- a/scripts/ver_linux
+++ b/scripts/ver_linux
@@ -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