Make build and install scripts more portable

This commit is contained in:
qiu-x 2021-11-04 21:09:51 +01:00
parent 41f8406484
commit 76bf2e5ffa
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