From 2062dffc60e16ad46f3d518f06f6e98f739b3353 Mon Sep 17 00:00:00 2001 From: Mike Pountney Date: Tue, 17 Sep 2019 22:27:28 -0700 Subject: [PATCH] fix _t/test_binaries.sh to work on Linux + MacOS --- _t/test_binaries.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_t/test_binaries.sh b/_t/test_binaries.sh index 3b37e33..1848f22 100755 --- a/_t/test_binaries.sh +++ b/_t/test_binaries.sh @@ -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