Skip to content

Commit

Permalink
Use characters before first equals sign for repo name (#31)
Browse files Browse the repository at this point in the history
Signed-off-by: Ducas Francis <ducas@ducasfrancis.com>
  • Loading branch information
ducas authored and unguiculus committed Sep 26, 2018
1 parent 75ee8d5 commit 6c1b24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chartlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ chartlib::init_helm() {
helm init --client-only

for repo in "${CHART_REPOS[@]}"; do
local name="${repo%=*}"
local name="${repo%%=*}"
local url="${repo#*=}"

helm repo add "$name" "$url"
Expand Down

0 comments on commit 6c1b24b

Please # to comment.