@cryptotaxi247 / kubo / commits / 7ab38696f

travis: fix install random error

Juan Batiz-Benet committed Nov 7, 2014 at 15:24 UTC 7ab38696f692fc124574495e97eb264564e0a02e
1 file changed +4 -3
test/Makefile
+4 -3
@@ -5,7 +5,7 @@
5 #
6
7 T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
8 -RANDOM=$(GOPATH)/bin/random
8 +RANDOM=${GOPATH}/bin/random
9
10 all: clean deps $(T) aggregate
11
@@ -21,7 +21,7 @@ aggregate:
21 @echo "*** $@ ***"
22 ./test-aggregate-results.sh
23
24 -deps: ipfs sharness.sh $(RANDOM)
24 +deps: ipfs sharness.sh ${RANDOM}
25
26 # phony to ensure we re-build it every time we run tests
27 ipfs:
@@ -34,6 +34,7 @@ sharness.sh:
34
35 .PHONY: all clean $(T) aggregate ipfs
36
37 -$(RANDOM):
37 +${RANDOM}:
38 + @echo "*** installing $@ ***"
39 go get github.com/jbenet/go-random/random
40 go install github.com/jbenet/go-random/random