github.com/razvanm/vanadium-go-1.3@v0.0.0-20160721203343-4a65068e5915/misc/makerelease/darwin/scripts/postinstall (about)

     1  #!/bin/bash
     2  
     3  GOROOT=/usr/local/go
     4  
     5  echo "Fixing permissions"
     6  cd $GOROOT
     7  find . -exec chmod ugo+r \{\} \;
     8  find bin -exec chmod ugo+rx \{\} \;
     9  find . -type d -exec chmod ugo+rx \{\} \;
    10  chmod o-w .