Skip to content

Commit f853bc9

Browse files
ASP.NET Push Botunknown
authored andcommitted
⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@6550ac8
1 parent 81fe6dc commit f853bc9

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

dnvm.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function _WriteOut {
6767

6868
### Constants
6969
$ProductVersion="1.0.0"
70-
$BuildVersion="beta7-10402"
70+
$BuildVersion="beta7-10403"
7171
$Authors="Microsoft Open Technologies, Inc."
7272

7373
# If the Version hasn't been replaced...

dnvm.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Source this file from your .bash-profile or script to use
33

44
# "Constants"
5-
_DNVM_BUILDNUMBER="beta7-10402"
5+
_DNVM_BUILDNUMBER="beta7-10403"
66
_DNVM_AUTHORS="Microsoft Open Technologies, Inc."
77
_DNVM_RUNTIME_PACKAGE_NAME="dnx"
88
_DNVM_RUNTIME_FRIENDLY_NAME=".NET Execution Environment"
@@ -245,14 +245,15 @@ __dnvm_unpack() {
245245

246246
[ -e "$runtimeFile" ] && rm -f "$runtimeFile"
247247

248-
#Set shell commands as executable
249-
find "$runtimeFolder/bin/" -type f \
250-
-exec sh -c "head -c 20 {} | grep '/usr/bin/env bash\|/bin/bash' > /dev/null" \; -print | xargs -r chmod 775
251-
252248
#Set dnx to be executable
253249
if [[ -s "$runtimeFolder/bin/dnx" ]]; then
254250
chmod 775 "$runtimeFolder/bin/dnx"
255251
fi
252+
253+
#Set dnu to be executable
254+
if [[ -s "$runtimeFolder/bin/dnu" ]]; then
255+
chmod 775 "$runtimeFolder/bin/dnu"
256+
fi
256257
}
257258

258259
__dnvm_requested_version_or_alias() {

0 commit comments

Comments
 (0)