github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/syft/pkg/cataloger/java/test-fixtures/java-builds/build-example-macho-binary.sh (about)

     1  #!/usr/bin/env bash
     2  set -uxe
     3  
     4  PKGSDIR=$1
     5  
     6  curl https://raw.githubusercontent.com/blacktop/go-macho/master/internal/testdata/gcc-amd64-darwin-exec-debug.base64 |
     7    base64 -d > $PKGSDIR/gcc-amd64-darwin-exec-debug