github.com/ktock/storage@v1.12.13/hack/gccgo-wrapper.sh (about) 1 #!/bin/bash 2 # 3 # Work around, based on one described in https://github.com/golang/go/issues/15628 4 # 5 addflags= 6 for arg in "$@" ; do 7 if test -d "$arg"/github.com/containers/storage/vendor ; then 8 addflags="$addflags -I $arg/github.com/containers/storage/vendor" 9 fi 10 done 11 exec gccgo $addflags "$@"