From: Adrian Bunk Date: Wed, 23 Jul 2008 19:50:45 +0000 (+0300) Subject: kbuild: scripts/ver_linux: don't set PATH X-Git-Tag: v3.12-rc1~18832^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48a61569bb5396415c5dad0e81e1cfeb87c0aca3;p=kernel%2Fkernel-generic.git 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: Adrian Bunk Signed-off-by: Sam Ravnborg --- diff --git a/scripts/ver_linux b/scripts/ver_linux index 7ac0e30..dbb3037 100755 --- a/scripts/ver_linux +++ b/scripts/ver_linux @@ -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 ' '