From 1063874798895d23cb71376f262e2e714b1beed0 Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Wed, 1 Mar 2023 18:42:14 +0300 Subject: [PATCH] fix: create boilerplate to current dir --- create.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/create.sh b/create.sh index bcbac15..86adf8b 100755 --- a/create.sh +++ b/create.sh @@ -8,9 +8,8 @@ then exit 1 fi -mkdir "$1" curl --proto '=https' --tlsv1.2 -sSf https://git.grachevko.ru/helm/common/archive/master.tar.gz | \ - tar -xz -C "$1" --strip=2 common-chart-master/starter -find "$1" -type f | xargs sed -i "" "s//$1/g" + tar -xz --strip=2 common/starter +find . -type f -exec sed -i "s//$1/g" {} \; -helm dep build "$1" +helm dep update