Commit 67bef0c 1 parent 4edac9c commit 67bef0c Copy full SHA for 67bef0c
File tree 1 file changed +8
-6
lines changed
boilerplate/flyte/golang_test_targets
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,19 @@ tools=(
24
24
)
25
25
26
26
# This ensures pflags are up to date.
27
- make -C $REPO_ROOT /flytestdlib compile
28
- cp $REPO_ROOT /flytestdlib/bin/pflags $( go env GOPATH) /bin
27
+ make -C " ${REPO_ROOT} /flytestdlib" compile
28
+ GO_BIN=" $( go env GOPATH) /bin"
29
+ mkdir -p " ${GO_BIN} "
30
+ cp " ${REPO_ROOT} /flytestdlib/bin/pflags" " ${GO_BIN} "
29
31
30
- tmp_dir=$( mktemp -d -t gotooling-XXX)
32
+ tmp_dir=" $( mktemp -d -t gotooling-XXX) "
31
33
echo " Using temp directory ${tmp_dir} "
32
- cp -R ../boilerplate/flyte/golang_support_tools/* $ tmp_dir
33
- pushd " $tmp_dir "
34
+ cp -R ../boilerplate/flyte/golang_support_tools/* " ${ tmp_dir} "
35
+ pushd " ${ tmp_dir} "
34
36
35
37
for tool in " ${tools[@]} " ; do
36
38
echo " Installing ${tool} "
37
- GO111MODULE=on go install $ tool
39
+ GO111MODULE=on go install " ${ tool} "
38
40
done
39
41
40
42
popd
You can’t perform that action at this time.
0 commit comments