Skip to content

Commit

Permalink
Make shellcheck happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Laci21 authored and waynz0r committed Jun 29, 2020
1 parent 4fbc3e7 commit d841b1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -o pipefail

CUSTOM_HEADER=${PWD}/hack/boilerplate.go.txt

GOBIN=${PWD}/bin ${PWD}/hack/generate-groups.sh \
GOBIN=${PWD}/bin "${PWD}"/hack/generate-groups.sh \
client,lister,informer \
github.com/banzaicloud/istio-operator/pkg/client \
github.com/banzaicloud/istio-operator/pkg/apis \
Expand Down
4 changes: 2 additions & 2 deletions scripts/download-deps.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/usr/bin/env bash
set +x

binpath=${PWD}/$(dirname $0)/../bin
binpath=${PWD}/$(dirname "$0")/../bin
version="v0.0.0-20180823001027-3dcf91f64f63"
cmds="deepcopy-gen defaulter-gen lister-gen client-gen informer-gen"

for name in ${cmds}; do
if [[ ! -f $binpath/$name ]]; then
GOBIN=$binpath go get k8s.io/code-generator/cmd/$name@$version
GOBIN=$binpath go get k8s.io/code-generator/cmd/"$name"@$version
fi
done

Expand Down

0 comments on commit d841b1d

Please sign in to comment.