diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2019-10-05 08:01:59 -0700 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-10-15 23:45:07 +0900 |
commit | 991b78fbd2231175293bd1d7c0768fb4e4382e14 (patch) | |
tree | 3435a590fa006446227ea7723bda0370f548b132 /kernel | |
parent | 85f0ae7e435afb261af33f9a605b973c0c8c1139 (diff) | |
download | linux-stable-991b78fbd2231175293bd1d7c0768fb4e4382e14.tar.gz linux-stable-991b78fbd2231175293bd1d7c0768fb4e4382e14.tar.bz2 linux-stable-991b78fbd2231175293bd1d7c0768fb4e4382e14.zip |
scripts: setlocalversion: fix a bashism
Fix bashism reported by checkbashisms by using only one '=':
possible bashism in scripts/setlocalversion line 96 (should be 'b = a'):
if [ "`hg log -r . --template '{latesttagdistance}'`" == "1" ]; then
Fixes: 38b3439d84f4 ("setlocalversion: update mercurial tag parsing")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Mike Crowe <mcrowe@zipitwireless.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions