Add to $PATH in the .Net Core Host pkg

Earlier it was incorrectly done in .Net CLI pkg
This commit is contained in:
Sridhar Periyasamy 2016-03-25 11:31:30 -07:00
parent 811db45cf3
commit e81166afce
2 changed files with 4 additions and 5 deletions

View file

@ -9,10 +9,6 @@ INSTALL_DESTINATION=$2
# A temporary fix for the permissions issue(s)
chmod -R 755 $INSTALL_DESTINATION
# Add the installation bin directory to the system-wide paths
echo $INSTALL_DESTINATION | tee -a /etc/paths.d/dotnet
chmod -R 755 $INSTALL_DESTINATIONs
exit 0

View file

@ -10,4 +10,7 @@ INSTALL_DESTINATION=$2
# A temporary fix for the permissions issue(s)
chmod 755 $INSTALL_DESTINATION/dotnet
# Add the installation directory to the system-wide paths
echo $INSTALL_DESTINATION | tee -a /etc/paths.d/dotnet
exit 0