mirror of https://github.com/status-im/consul.git
interpolate properly (#5665)
This commit is contained in:
parent
0015326cea
commit
ffc5c33550
|
@ -107,7 +107,7 @@ if [ -z "$NO_REDIRECTS" ] || [ ! test -f $REDIRECTS_FILE ]; then
|
||||||
# Read fields
|
# Read fields
|
||||||
IFS=" " read -ra parts <<<"$line"
|
IFS=" " read -ra parts <<<"$line"
|
||||||
fields+=("${parts[@]}")
|
fields+=("${parts[@]}")
|
||||||
done < REDIRECTS_FILE
|
done < $REDIRECTS_FILE
|
||||||
|
|
||||||
# Check we have pairs
|
# Check we have pairs
|
||||||
if [ $((${#fields[@]} % 2)) -ne 0 ]; then
|
if [ $((${#fields[@]} % 2)) -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue