shell/lib: moving shell libraries into the veyron core repository
This CL moves shell libraries into the veyron core repository and
provides a mechanism for looking up the location of the shell
libraries (and veyron Go package directories) that is independent of
VEYRON_ROOT.
Doing so enables running integration tests after veyron sources were
fetched using the "go get" mechanism.
MultiPart: 4/8
Change-Id: Ie4464ebc83da381631ecf7f43fd814de0a3524c9
diff --git a/runtimes/google/ipc/stream/crypto/tls_generate_old.sh b/runtimes/google/ipc/stream/crypto/tls_generate_old.sh
index b940345..09cc1c8 100755
--- a/runtimes/google/ipc/stream/crypto/tls_generate_old.sh
+++ b/runtimes/google/ipc/stream/crypto/tls_generate_old.sh
@@ -3,7 +3,7 @@
# This script generates a version of tls.go that can be built with Go compilers
# prior to version 1.4.
-source "${VEYRON_ROOT}/scripts/lib/shell.sh"
+source "$(go list -f {{.Dir}} veyron.io/veyron/shell/lib)/shell_test.sh"
main() {
local -r DIR="$(dirname "$0")"