Skip to content

Commit

Permalink
changing bootstrap script
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed Jun 22, 2024
1 parent e706380 commit 51fcd75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion aws/bootstrap
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/sh -l

TAILCALL_PATH
cd CONFIG_DIR
./tailcall
2 changes: 1 addition & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ deploy() {
# todo: handle name collisions
mkdir -p /aws/config
cp -r /app/* /aws/config
awk -v tailcall_path="$TC_CONFIG_DIR/tailcall" "{sub(/TAILCALL_PATH/,tailcall_path)}1" /aws/bootstrap > /tmp/bootstrap
awk -v config_dir="$TC_CONFIG_DIR" "{sub(/CONFIG_DIR/,config_dir)}1" /aws/bootstrap > /tmp/bootstrap
mv /tmp/bootstrap /aws/bootstrap
cd /aws
echo "List: $(find /app -type f)"
Expand Down

0 comments on commit 51fcd75

Please sign in to comment.