install: add -buildvcs=false
This commit is contained in:
parent
eb41d9d70c
commit
ee4a1cd95d
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
# ./install.sh [DESTDIR] [BINDIR]
|
# ./install.sh [DESTDIR] [BINDIR]
|
||||||
: "${DOTOOL_VERSION=$(git describe --long --abbrev=12 --tags --dirty 2>/dev/null || echo 1.3)}"
|
: "${DOTOOL_VERSION=$(git describe --long --abbrev=12 --tags --dirty 2>/dev/null || echo 1.3)}"
|
||||||
|
|
||||||
go build -ldflags "-X main.Version=$DOTOOL_VERSION" || exit
|
go build -buildvcs=false -ldflags "-X main.Version=$DOTOOL_VERSION" || exit
|
||||||
mkdir -p "$1/${2:-usr/local/bin}" || exit
|
mkdir -p "$1/${2:-usr/local/bin}" || exit
|
||||||
cp -v dotool dotoolc dotoold "$1/${2:-usr/local/bin}" || exit
|
cp -v dotool dotoolc dotoold "$1/${2:-usr/local/bin}" || exit
|
||||||
mkdir -p "$1/etc/udev/rules.d" || exit
|
mkdir -p "$1/etc/udev/rules.d" || exit
|
||||||
|
|
Loading…
Reference in a new issue