Skip to content

Commit 96452cd

Browse files
committed
build - fix issue with secret_key substitution in tracker config.
The build system replaces the tracker config's etag key with a static value to prevent churn every time the config is built. The replacement wasn't working because of a missing character in the regexp.
1 parent 3b1f22f commit 96452cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/format_config.awk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ NR < 9 {next}
66

77
# To prevent new file generation from causing the secret_key to
88
# change, we replace the secret key with a fixed value.
9-
/^# Default: [0-9A-z+=]{44}/ {sub(/[0-9A-z+=]{44}/, SECRET_KEY)}
10-
/^secret_key = [0-9A-z+=]{44}/ {sub(/[0-9A-z+=]{44}/, SECRET_KEY)}
9+
/^# Default: [0-9A-z+=/]{44}/ {sub(/[0-9A-z+=/]{44}/, SECRET_KEY)}
10+
/^secret_key = [0-9A-z+=/]{44}/ {sub(/[0-9A-Za-z+=/]{44}/, SECRET_KEY)}
1111

1212
# When we see a section [label]:
1313
# emit section index marker,

0 commit comments

Comments
 (0)