We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41c812f commit 9ebd86dCopy full SHA for 9ebd86d
1 file changed
lib/utils.bash
@@ -185,9 +185,9 @@ install_v2_macos_bundled_installer() {
185
download_path="$1"
186
install_path="$2"
187
188
- pkgutil --expand-full "${download_path}/AWSCLIV2.pkg" "${download_path}/tmp-awscliv2"
189
- mv "${download_path}/tmp-awscliv2/aws-cli.pkg/Payload/aws-cli" "${install_path}"
190
mkdir -p "${install_path}/bin"
+ pkgutil --expand-full "${download_path}/AWSCLIV2.pkg" "${download_path}/tmp-awscliv2"
+ cp -a "${download_path}/tmp-awscliv2/aws-cli.pkg/Payload/aws-cli/" "${install_path}"
191
ln -snf "${install_path}/aws" "${install_path}/bin/aws"
192
ln -snf "${install_path}/aws_completer" "${install_path}/bin/aws_completer"
193
rm -rf "${download_path}/tmp-awscliv2"
0 commit comments