Make dotnet-nightly workaround version-agnostic

If the `Debug/dnxcore50` path does not exist, don't worry about it.
This commit is contained in:
Andrew Schwartzmeyer committed 2016-01-29 17:24:49 -08:00
1 parent fa7b96253d
commit fd782abe99
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ mkdir -p $BIN/Modules
cd src/Microsoft.PowerShell.Linux.Host
dotnet publish --framework dnxcore50 --output $BIN
# Temporary fix for dotnet publish
cp $BIN/Debug/dnxcore50/* $BIN
[[ -d $BIN/Debug/dnxcore50 ]] && cp $BIN/Debug/dnxcore50/* $BIN
# Copy files that dotnet-publish does not currently deploy
cp *_profile.ps1 $BIN
)