You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
213 B

8 years ago
8 years ago
  1. #! /bin/bash
  2. set +u
  3. if [[ "$GLIDE" == "" ]]; then
  4. GLIDE=$GOPATH/src/github.com/tendermint/tendermint/glide.lock
  5. fi
  6. set -u
  7. set -euo pipefail
  8. LIB=$1
  9. cat $GLIDE | grep -A1 $LIB | grep -v $LIB | awk '{print $2}'