From 45212be2a151401cf2188a07cf4e6127055020b7 Mon Sep 17 00:00:00 2001 From: Shashi Kant Date: Tue, 18 Jun 2024 18:08:43 +0530 Subject: [PATCH] fixing ./ prefix in dir path --- scripts/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index b7b3d38..d60aae5 100755 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -23,7 +23,8 @@ echo "DIRS: $(ls)" mkdir -p /app cp -r ./* /app TC_CONFIG_DIR_ROOT=/app -TC_CONFIG_DIR=$(dirname $TAILCALL_CONFIG) +TC_CONFIG_DIR=$(dirname $TAILCALL_CONFIG | sed 's|^\./||') +echo $TC_CONFIG_DIR TC_CONFIG_NAME=$(basename $TAILCALL_CONFIG) EXTENSION=$(echo $TC_CONFIG_NAME | tr '.' '\n' | tail -n 1)