Skip to content

Commit

Permalink
Fix broken update_vars.sh
Browse files Browse the repository at this point in the history
Refs #1870
  • Loading branch information
kimrutherford committed Mar 6, 2023
1 parent 224182e commit 8dd4a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/update_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
analytics_id="$1"
google_tag_manager_id="$2"
app_deploy_config="$3"
index=$3
index=$4

perl -pne "s/'<<APP_DEPLOY_CONFIG>>'/$app_deploy_config/; s/<<GOOGLE_ANALYTICS_ID>>/$analytics_id/; s/<<GOOGLE_TAG_MANAGER_ID>>/$google_tag_manager_id/;" $index > /tmp/index.tmp &&
mv /tmp/index.tmp $index

0 comments on commit 8dd4a60

Please sign in to comment.