projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b213573
)
Merge pull request #723 from 981213/pr_disable_pattern
author
Hannu Nyman
<hannu.nyman@iki.fi>
Sat, 14 May 2016 07:37:07 +0000
(10:37 +0300)
committer
Hannu Nyman
<hannu.nyman@iki.fi>
Sat, 14 May 2016 07:37:07 +0000
(10:37 +0300)
luci-base:Turn off pattern matching when generating distversion
modules/luci-base/src/mkversion.sh
patch
|
blob
|
history
diff --git
a/modules/luci-base/src/mkversion.sh
b/modules/luci-base/src/mkversion.sh
index
e3ef974
..
e2d02c1
100755
(executable)
--- a/
modules/luci-base/src/mkversion.sh
+++ b/
modules/luci-base/src/mkversion.sh
@@
-10,7
+10,7
@@
if pcall(dofile, "/etc/openwrt_release") and _G.DISTRIB_DESCRIPTION then
distversion = _G.DISTRIB_DESCRIPTION
if _G.DISTRIB_REVISION then
distrevision = _G.DISTRIB_REVISION
- if not distversion:find(distrevision) then
+ if not distversion:find(distrevision
,1,true
) then
distversion = distversion .. " " .. distrevision
end
end