dotnet-installer/scripts/install-stage0.sh
Andrew Stanton-Nurse ca4d160fc3 implement bootstrapping without DNX
* fix up dnvm2 port
* produce packages ready for CI to publish
* remove dependency on DNX for stage0 (still needed for restore)
2015-10-20 17:36:25 -07:00

13 lines
208 B
Bash
Executable file

#!/usr/bin/env bash
STAGE0_DIR=$1
DNVM_PATH=$2
export DOTNET_USER_HOME=$STAGE0_DIR
source $DNVM_PATH
dnvm upgrade -a dotnet_stage0
VER=`dnvm alias dotnet_stage0`
mv $STAGE0_DIR/sdks/$VER $STAGE0_DIR/bin