#!/usr/bin/env bash set -exu if [[ $# -eq 0 ]] then echo "No argument supplied" exit 1 fi curl --proto '=https' --tlsv1.2 -sSf https://git.grachevko.ru/helm/common/archive/master.tar.gz | \ tar -xz --strip=2 common/starter find . -type f -exec sed -i "s//$1/g" {} \; helm dep update