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