github.com/openflowlabs/storage@v1.12.13/hack/ostree_tag.sh (about) 1 #!/bin/bash 2 if test $(${GO:-go} env GOOS) != "linux" ; then 3 exit 0 4 fi 5 cc -E - $(pkg-config --cflags ostree-1) > /dev/null 2> /dev/null << EOF 6 #include <ostree-1/ostree.h> 7 EOF 8 if test $? -eq 0 ; then 9 echo ostree 10 fi