From f853bc9a4b5f0c1fe79e9b0ecbf1f9191d0f8e13 Mon Sep 17 00:00:00 2001 From: "ASP.NET Push Bot" Date: Wed, 29 Jul 2015 09:21:17 -0700 Subject: [PATCH] :arrow_up: dnvm.ps1, dnvm.cmd, dnvm.sh Source: AspNet/kvm@6550ac887e623bf2b32c647814e67969e36cc1e1 --- dnvm.ps1 | 2 +- dnvm.sh | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/dnvm.ps1 b/dnvm.ps1 index c0071ab9eb..328f6ce28c 100644 --- a/dnvm.ps1 +++ b/dnvm.ps1 @@ -67,7 +67,7 @@ function _WriteOut { ### Constants $ProductVersion="1.0.0" -$BuildVersion="beta7-10402" +$BuildVersion="beta7-10403" $Authors="Microsoft Open Technologies, Inc." # If the Version hasn't been replaced... diff --git a/dnvm.sh b/dnvm.sh index 1ffaefecb2..a67fe7ab8d 100644 --- a/dnvm.sh +++ b/dnvm.sh @@ -2,7 +2,7 @@ # Source this file from your .bash-profile or script to use # "Constants" -_DNVM_BUILDNUMBER="beta7-10402" +_DNVM_BUILDNUMBER="beta7-10403" _DNVM_AUTHORS="Microsoft Open Technologies, Inc." _DNVM_RUNTIME_PACKAGE_NAME="dnx" _DNVM_RUNTIME_FRIENDLY_NAME=".NET Execution Environment" @@ -245,14 +245,15 @@ __dnvm_unpack() { [ -e "$runtimeFile" ] && rm -f "$runtimeFile" - #Set shell commands as executable - find "$runtimeFolder/bin/" -type f \ - -exec sh -c "head -c 20 {} | grep '/usr/bin/env bash\|/bin/bash' > /dev/null" \; -print | xargs -r chmod 775 - #Set dnx to be executable if [[ -s "$runtimeFolder/bin/dnx" ]]; then chmod 775 "$runtimeFolder/bin/dnx" fi + + #Set dnu to be executable + if [[ -s "$runtimeFolder/bin/dnu" ]]; then + chmod 775 "$runtimeFolder/bin/dnu" + fi } __dnvm_requested_version_or_alias() {