2015-10-23 11:10:47 -07:00
|
|
|
#!/bin/sh
|
2015-11-16 11:21:57 -08:00
|
|
|
#
|
|
|
|
# Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
#
|
2015-10-23 11:10:47 -07:00
|
|
|
|
2015-12-15 20:35:21 -08:00
|
|
|
PACKAGE=$1
|
|
|
|
INSTALL_DESTINATION=$2
|
|
|
|
|
|
|
|
|
2015-12-15 14:08:00 -08:00
|
|
|
# A temporary fix for the permissions issue(s)
|
2015-12-15 20:35:21 -08:00
|
|
|
chmod -R 755 $INSTALL_DESTINATION
|
2015-12-15 14:08:00 -08:00
|
|
|
|
2015-12-15 20:35:21 -08:00
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet /usr/local/bin/
|
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-compile /usr/local/bin/
|
2015-12-10 13:06:33 -08:00
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-build /usr/local/bin/
|
2015-12-15 20:35:21 -08:00
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-compile-csc /usr/local/bin/
|
2015-12-17 14:28:11 +01:00
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-compile-fsc /usr/local/bin/
|
2015-12-15 20:35:21 -08:00
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-new /usr/local/bin/
|
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-pack /usr/local/bin/
|
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-publish /usr/local/bin/
|
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-repl /usr/local/bin/
|
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-restore /usr/local/bin/
|
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-resgen /usr/local/bin/
|
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-run /usr/local/bin/
|
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-test /usr/local/bin/
|
2016-01-13 12:02:37 -08:00
|
|
|
ln -s $INSTALL_DESTINATION/bin/dotnet-dnx /usr/local/bin/
|
2015-10-23 11:10:47 -07:00
|
|
|
|
2015-11-23 11:55:42 -08:00
|
|
|
# A temporary solution to unblock dotnet compile
|
2015-12-15 20:35:21 -08:00
|
|
|
cp $INSTALL_DESTINATION/bin/corehost /usr/local/bin/
|
2015-11-23 11:55:42 -08:00
|
|
|
|
|
|
|
|
2015-10-23 11:10:47 -07:00
|
|
|
exit 0
|