luci-base: Turn off pattern matching when generating distversion
authorChuanhong Guo <gch981213@gmail.com>
Sat, 21 May 2016 08:14:31 +0000 (11:14 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 21 May 2016 08:14:41 +0000 (11:14 +0300)
commita64448b16bcb741bf872409b3d051035a28dd3f8
treea987299db39fe91f3a5679306442c810c69f5de1
parent84083ce54d6d67569d82c26955627bb1f41a05ff
luci-base: Turn off pattern matching when generating distversion

Otherwize the distrevision may be displayed twice
if it contains some special matching patterns.
(For example I am using "git-$hash" in my own OpenWrt branch.)
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
(cherry picked from commit c1f0a9971a0b75515996cd59dfaf70f3ff6cc624)
modules/luci-base/src/mkversion.sh