parent
81fe6dc7c8
commit
f853bc9a4b
2
dnvm.ps1
2
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...
|
||||
|
|
|
|||
11
dnvm.sh
11
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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue