Skip to content

Commit a981292

Browse files
committed
Take rid as parameter
1 parent 84cac20 commit a981292

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

eng/helix/content/installappruntime.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ set -e
66
appRuntimePath=$1
77
output_dir=$2
88
framework=$3
9+
rid=$4
910
tmpDir=./tmpRuntime
1011

1112
echo "Installing shared framework from $appRuntimePath"
@@ -15,5 +16,5 @@ mkdir -p $tmpDir
1516
unzip sharedFx.zip -d $tmpDir
1617
mkdir -p $output_dir
1718
echo "Copying to $output_dir"
18-
cp $tmpDir/runtimes/win-x64/lib/$framework/* $output_dir
19-
cp $tmpDir/runtimes/win-x64/native/* $output_dir
19+
cp $tmpDir/runtimes/$rid/lib/$framework/* $output_dir
20+
cp $tmpDir/runtimes/$rid/native/* $output_dir

0 commit comments

Comments
 (0)