Build fixed properly.
@@ -7,22 +7,14 @@ export TEMP_DIR=$(mktemp -d)
export KUBELOGIN_PATH="$TEMP_DIR/kubelogin"
export PATH=$PATH:$GOPATH/bin
-go env
go get -v github.com/google/go-licenses
-#find /home -name "go-licenses*"
-
-echo $LIBRARY_LICENCES_PATH
-echo $TEMP_DIR
-echo $HOME
-echo $PREFIX
-
cd $TEMP_DIR
git clone https://github.com/Azure/kubelogin.git
cd kubelogin/
rm -fr $LIBRARY_LICENCES_PATH
-$PREFIX/bin/go-licenses save $KUBELOGIN_PATH --save_path=$LIBRARY_LICENCES_PATH
+$GOBIN/bin/go-licenses save $KUBELOGIN_PATH --save_path=$LIBRARY_LICENCES_PATH
cd $RECIPE_DIR
rm -fr $TEMP_DIR
