From c91eb06b6e23f1bbbe8a5612d2f5a09337a8bdcf Mon Sep 17 00:00:00 2001 From: Zlatko Knezevic Date: Mon, 23 Nov 2015 11:55:42 -0800 Subject: [PATCH] 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