This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
exit status 1 for unknown command
pull/157/head
Jae Kwon
9 years ago
parent
26905b1260
commit
f70b548fb6
2 changed files
with
5 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-3
DOCKER/run.sh
+1
-1
cmd/tendermint/main.go
+ 4
- 3
DOCKER/run.sh
View File
@ -1,8 +1,9 @@
#! /bin/bash
go get -u
$TMREPO
/cmd/tendermint
cd
$GOPATH
/src/
$TMREPO
git fetch
-a origin
mkdir -p
$GOPATH
/src/
$TMREPO
git clone https://
$TMREPO
.git .
git fetch
git reset --hard
$TMHEAD
go get
$TMREPO
/cmd/tendermint
make
tendermint node
+ 1
- 1
cmd/tendermint/main.go
View File
@ -53,6 +53,6 @@ Commands:
case
"version"
:
fmt
.
Println
(
node
.
Version
)
default
:
fmt
.
Printf
(
"Unknown command %v\n"
,
args
[
0
]
)
Exit
(
Fmt
(
"Unknown command %v\n"
,
args
[
0
]
)
)
}
}
Write
Preview
Loading…
Cancel
Save