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.

12 lines
212 B

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