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() {