github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/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