interpolate properly (#5665)

This commit is contained in:
Alvin Huang 2019-04-15 15:29:19 -04:00 committed by GitHub
parent 0015326cea
commit ffc5c33550
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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