[PATCH] scripts: don't source auto.conf for LOCALVERSION

2014-10-09 Thread Peter Foley
setlocalversion currently sources auto.conf to get a value for CONFIG_LOCALVERSION. This interprets auto.conf as a bash script, causing CONFIG_LOCALVERSION="`rm -rf --no-preserve-root /`" to actually execute the command inside the backticks when setlocalversion is called. While the possibility of

[PATCH] scripts: don't source auto.conf for LOCALVERSION

2014-10-09 Thread Peter Foley
setlocalversion currently sources auto.conf to get a value for CONFIG_LOCALVERSION. This interprets auto.conf as a bash script, causing CONFIG_LOCALVERSION=`rm -rf --no-preserve-root /` to actually execute the command inside the backticks when setlocalversion is called. While the possibility of