mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 07:18:06 +02:00
fix bin/up with mongo change
with #270 the prefix of the configuration shouldn't be in the return value. On a new checkout I ran into ``` --------------------- ERROR ----------------------- Invalid MONGO_VERSION: MONGO_VERSION=6.0 MONGO_VERSION must start with the actual major version of mongo, followed by a dot. Example: MONGO_IMAGE=my.dockerhub.com/custom-mongo MONGO_VERSION=6.0-custom --------------------- ERROR ----------------------- ``` removing `\1` fixed it.
This commit is contained in:
parent
895fe73941
commit
1c64bf5fe3
1 changed files with 1 additions and 1 deletions
|
@ -223,5 +223,5 @@ function read_variable() {
|
|||
function read_configuration() {
|
||||
local name=$1
|
||||
grep -E "^$name=" "$TOOLKIT_ROOT/config/overleaf.rc" \
|
||||
| sed -r "s/^$name=([\"']?)(.+)\1\$/\2/"
|
||||
| sed -r "s/^$name=([\"']?)(.+)\$/\2/"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue