From 0c1db198933f68caa23f7ac5b923be38fe90af46 Mon Sep 17 00:00:00 2001 From: Andreas Bucksteeg Date: Fri, 3 Jan 2025 20:57:57 +0100 Subject: [PATCH] fix: swtich to use bin_dir again --- licenses/list-licenses | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/licenses/list-licenses b/licenses/list-licenses index 8a238d9..5824059 100755 --- a/licenses/list-licenses +++ b/licenses/list-licenses @@ -30,9 +30,9 @@ if [ -f go.mod ]; then echo "No Go modules found" >&2 else # Workaround until https://github.com/google/go-licenses/issues/307 is fixed - # .bin/go-licenses report "$module_name" --template .bin/license-template-go.tpl 2>/dev/null + # "${bin_dir}"/go-licenses report "$module_name" --template "${bin_dir}"/license-template-go.tpl 2>/dev/null # - echo "$go_modules" | xargs -I {} sh -c '.bin/go-licenses report --template .bin/license-template-go.tpl {}' | grep -v '^$' + echo "$go_modules" | xargs -I {} sh -c '"${bin_dir}"/go-licenses report --template "${bin_dir}"/license-template-go.tpl {}' | grep -v '^$' echo fi fi