From 8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 19 Jun 2014 09:22:53 +0200 Subject: Imported Upstream version 1.3 --- misc/makerelease/darwin/scripts/postinstall | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 misc/makerelease/darwin/scripts/postinstall (limited to 'misc/makerelease/darwin/scripts/postinstall') diff --git a/misc/makerelease/darwin/scripts/postinstall b/misc/makerelease/darwin/scripts/postinstall new file mode 100755 index 000000000..13f5bff9b --- /dev/null +++ b/misc/makerelease/darwin/scripts/postinstall @@ -0,0 +1,10 @@ +#!/bin/bash + +GOROOT=/usr/local/go + +echo "Fixing permissions" +cd $GOROOT +find . -exec chmod ugo+r \{\} \; +find bin -exec chmod ugo+rx \{\} \; +find . -type d -exec chmod ugo+rx \{\} \; +chmod o-w . -- cgit v1.2.3