Make build and install scripts more portable (#325)

This commit is contained in:
Qiu 2021-12-17 09:38:59 +01:00 committed by GitHub
parent 41f8406484
commit 47c91e0002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
version=$(git describe --exact-match --tags 2>/dev/null || git describe 2>/dev/null || echo "prerelease")
go build \

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e