From 04b08da9af0c450d645ab7389d1467308cfc2db8 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 4 Mar 2013 21:27:36 +0100 Subject: Imported Upstream version 1.1~hg20130304 --- misc/dist/darwin/scripts/postinstall | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) mode change 100644 => 100755 misc/dist/darwin/scripts/postinstall (limited to 'misc/dist/darwin/scripts/postinstall') diff --git a/misc/dist/darwin/scripts/postinstall b/misc/dist/darwin/scripts/postinstall old mode 100644 new mode 100755 index 3748721c7..4410a3004 --- a/misc/dist/darwin/scripts/postinstall +++ b/misc/dist/darwin/scripts/postinstall @@ -9,14 +9,9 @@ find bin -exec chmod ugo+rx \{\} \; find . -type d -exec chmod ugo+rx \{\} \; chmod o-w . -echo "Fixing debuggers via sudo.bash" -# setgrp procmod the debuggers (sudo.bash) -cd $GOROOT/src -./sudo.bash - echo "Installing miscellaneous files:" XCODE_MISC_DIR="/Library/Application Support/Developer/Shared/Xcode/Specifications/" -if [ -f $XCODE_MISC_DIR ]; then +if [ -d "$XCODE_MISC_DIR" ]; then echo " XCode" cp $GOROOT/misc/xcode/* $XCODE_MISC_DIR fi -- cgit v1.2.3