mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
297b30df5f
These scripts explicitly use Bash, so we should be able to use `[[` instead of `[` (which seems to be recommended). Also added curly brackets to some bare variables, and quoted some paths. This makes my IDE a bit more silent :-) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
11 lines
329 B
Bash
Executable file
11 lines
329 B
Bash
Executable file
#!/bin/sh
|
|
|
|
VNDR_COMMIT=81cb8916aad3c8d06193f008dba3e16f82851f52
|
|
|
|
install_vndr() {
|
|
echo "Install vndr version $VNDR_COMMIT"
|
|
git clone https://github.com/LK4D4/vndr.git "$GOPATH/src/github.com/LK4D4/vndr"
|
|
cd "$GOPATH/src/github.com/LK4D4/vndr"
|
|
git checkout -q "$VNDR_COMMIT"
|
|
go build -buildmode=pie -v -o "${PREFIX}/vndr" .
|
|
}
|