2016-07-24 11:08:47 -07:00
|
|
|
#! /bin/bash
|
2016-08-09 22:45:55 -07:00
|
|
|
|
2016-11-03 17:16:44 -07:00
|
|
|
set +u
|
2016-10-12 09:27:37 -07:00
|
|
|
if [[ "$GLIDE" == "" ]]; then
|
|
|
|
GLIDE=$GOPATH/src/github.com/tendermint/tendermint/glide.lock
|
|
|
|
fi
|
2016-11-03 17:16:44 -07:00
|
|
|
set -u
|
2016-07-24 11:08:47 -07:00
|
|
|
|
2016-12-08 22:28:08 -08:00
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
LIB=$1
|
|
|
|
|
2016-07-24 11:08:47 -07:00
|
|
|
cat $GLIDE | grep -A1 $LIB | grep -v $LIB | awk '{print $2}'
|