11 lines
198 B
Bash
Raw Normal View History

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