Forgot a + in regex

This commit is contained in:
Antonin Décimo
2014-05-20 21:58:41 +02:00
parent ea028f0448
commit b6a8307a1e

View File

@@ -189,7 +189,7 @@ RELEASE_WIN_64=false
if [ "$FOUND_LUA" = true ]; then if [ "$FOUND_LUA" = true ]; then
LOVE_VERSION_AUTO=$(lua -e 'f = loadfile("conf.lua"); t, love = {window = {}, modules = {}}, {}; f(); love.conf(t); print(t.version)') LOVE_VERSION_AUTO=$(lua -e 'f = loadfile("conf.lua"); t, love = {window = {}, modules = {}}, {}; f(); love.conf(t); print(t.version)')
else else
LOVE_VERSION_AUTO=$(grep -Eo -m 1 "t.version = \"[0-9]+.[0-9]+.[0-9]+\"" conf.lua 2> /dev/null | grep -Eo "[0-9]+.[0-9]+.[0-9]") LOVE_VERSION_AUTO=$(grep -Eo -m 1 "t.version = \"[0-9]+.[0-9]+.[0-9]+\"" conf.lua 2> /dev/null | grep -Eo "[0-9]+.[0-9]+.[0-9]+")
fi fi
if [ -n "$LOVE_VERSION_AUTO" ]; then if [ -n "$LOVE_VERSION_AUTO" ]; then
LOVE_VERSION=$LOVE_VERSION_AUTO LOVE_VERSION=$LOVE_VERSION_AUTO