fix _t/test_binaries.sh to work on Linux + MacOS

This commit is contained in:
Mike Pountney
2019-09-17 22:27:28 -07:00
parent 2d13725ccf
commit 0726101762
+1 -1
View File
@@ -13,7 +13,7 @@ function error() {
DIST_DIR="dist/github.com/go-jira"
out=`file ${DIST_DIR}/jira-darwin-amd64 2>&1`
if ! [[ "$out" =~ "Mach-O 64-bit executable x86_64" ]]; then
if ! [[ "$out" =~ "Mach-O 64-bit" ]]; then
error "darwin/amd64 build not as expected: $out"
fi