操作系统是 ubuntu 16.04,通过下面的命令安装好了 golang 环境
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt-get update
sudo apt-get install golang-go
sudo apt install go-bindata
配置好了GOPATH
export export GOPATH=~/dev/go
按照 https://github.com/aliyun/aliyun-cli 中的步骤进行 build
mkdir -p $GOPATH/src/github.com/aliyun
cd $GOPATH/src/github.com/aliyun
git clone http://github.com/aliyun/aliyun-cli.git
git clone http://github.com/aliyun/aliyun-openapi-meta.git
cd aliyun-cli
make install
但总是出现下面的错误
go-bindata -o resource/metas.go -pkg resource -prefix ../aliyun-openapi-meta ../aliyun-openapi-meta/**/* ../aliyun-openapi-meta/products.json
bindata: Input path '../aliyun-openapi-meta/aegis/AutoUpgradeSas.json' is not a directory.
Makefile:26: recipe for target 'metas' failed
make: *** [metas] Error 1
请问如何解决?