From c91eb06b6e23f1bbbe8a5612d2f5a09337a8bdcf Mon Sep 17 00:00:00 2001 From: Zlatko Knezevic Date: Mon, 23 Nov 2015 11:55:42 -0800 Subject: [PATCH 1/2] Add a temporary step to cp corehost to /usr/local/bin This is a temporary fix to unblock dotnet compile on OS X. It copies the corehost from the install location to /usr/local/bin in postinstall. Fix 294 --- packaging/osx/scripts/postinstall | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/osx/scripts/postinstall b/packaging/osx/scripts/postinstall index 4b4b810a9..2584f0c78 100755 --- a/packaging/osx/scripts/postinstall +++ b/packaging/osx/scripts/postinstall @@ -12,4 +12,8 @@ ln -s $2/bin/dotnet-restore /usr/local/bin/ ln -s $2/bin/dotnet-restore /usr/local/bin/ ln -s $2/bin/resgen /usr/local/bin/ +# A temporary solution to unblock dotnet compile +cp $2/bin/corehost /usr/local/bin/ + + exit 0 From 9d9f14194508fef45c59496f2e61a99131d14484 Mon Sep 17 00:00:00 2001 From: Zlatko Knezevic Date: Mon, 23 Nov 2015 15:45:56 -0800 Subject: [PATCH 2/2] Adding dotnet-init to symlink list --- packaging/osx/scripts/postinstall | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/osx/scripts/postinstall b/packaging/osx/scripts/postinstall index 2584f0c78..a8124084c 100755 --- a/packaging/osx/scripts/postinstall +++ b/packaging/osx/scripts/postinstall @@ -10,6 +10,7 @@ ln -s $2/bin/dotnet-compile-csc /usr/local/bin/ ln -s $2/bin/dotnet-publish /usr/local/bin/ ln -s $2/bin/dotnet-restore /usr/local/bin/ ln -s $2/bin/dotnet-restore /usr/local/bin/ +ln -s $2/bin/dotnet-init /usr/local/bin/ ln -s $2/bin/resgen /usr/local/bin/ # A temporary solution to unblock dotnet compile