提交 48a61569 编写于 作者: A Adrian Bunk 提交者: Sam Ravnborg

kbuild: scripts/ver_linux: don't set PATH

It would have saved both a bug submitter and me a few hours if
scripts/ver_linux had picked the same gcc as the build.

Since I can't see any reason why it fiddles with PATH at all this patch
therefore removes the PATH setting.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 775a7229
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
# /bin /sbin /usr/bin /usr/sbin /usr/local/bin, but it may # /bin /sbin /usr/bin /usr/sbin /usr/local/bin, but it may
# differ on your system. # differ on your system.
# #
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:$PATH
echo 'If some fields are empty or look unusual you may have an old version.' echo 'If some fields are empty or look unusual you may have an old version.'
echo 'Compare to the current minimal requirements in Documentation/Changes.' echo 'Compare to the current minimal requirements in Documentation/Changes.'
echo ' ' echo ' '
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册