Skip to content

Commit

Permalink
kbuild: scripts/ver_linux: don't set PATH
Browse files Browse the repository at this point in the history
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: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
AdrianBunk authored and sravnborg committed Jul 31, 2008
1 parent 775a722 commit 48a6156
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/ver_linux
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# /bin /sbin /usr/bin /usr/sbin /usr/local/bin, but it may
# 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 'Compare to the current minimal requirements in Documentation/Changes.'
echo ' '
Expand Down

0 comments on commit 48a6156

Please sign in to comment.