Skip to content

Commit

Permalink
devonfw#964: fix aws win-setup to work again
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnamon-coder-hub committed Nov 22, 2022
1 parent 689d2df commit b1eb6ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/src/main/resources/scripts/command/aws
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ function doPackageInstall() {
if doIsWindows
then
doEcho "Installing AWS for Windows..."
windows_path_to_package=$(cygpath -w "${path_to_package}")
powershell.exe -Command "Start-Process msiexec.exe -verb runas -Wait -ArgumentList '/I ${windows_path_to_package}\aws-*-windows.msi /quiet'"
msifilename=$(ls ${path_to_package} | grep ".msi" | head -1)
path_to_file=${path_to_package}/${msifilename}
windows_path_to_file=$(cygpath -w "${path_to_file}")
powershell.exe -Command "Start-Process msiexec.exe -verb runas -Wait -ArgumentList '/i ${windows_path_to_file} /quiet'"
elif doIsMacOs
then
doEcho "Installing AWS for MacOS..."
Expand Down

0 comments on commit b1eb6ab

Please sign in to comment.