[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1490738768-27837-1-git-send-email-sgw@linux.intel.com>
Date: Tue, 28 Mar 2017 15:06:08 -0700
From: Saul Wold <sgw@...ux.intel.com>
To: linux-kernel@...r.kernel.org
Cc: gregkh@...uxfoundation.org, alexander.kapshuk@...il.com,
mgross@...ux.intel.com
Subject: [PATCH] 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@...ux.intel.com>
Reviewed-by: Alexander Kapshuk <alexander.kapshuk@...il.com>
Reviewed-by: Mark Gross <mgross@...ux.intel.com>
---
scripts/ver_linux | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/ver_linux b/scripts/ver_linux
index 430b201..b51de8a 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
--
2.7.4
Powered by blists - more mailing lists