File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -125,20 +125,20 @@ function installTerragrunt {
125125 url=" https://github.com/gruntwork-io/terragrunt/releases/download/${tgVersion} /terragrunt_linux_amd64"
126126
127127 echo " Downloading Terragrunt ${tgVersion} "
128- curl -s -S -L -o /tmp/terragrunt_ ${tgVersion} ${url}
128+ curl -s -S -L -o /tmp/terragrunt ${url}
129129 if [ " ${?} " -ne 0 ]; then
130130 echo " Failed to download Terragrunt ${tgVersion} "
131131 exit 1
132132 fi
133133 echo " Successfully downloaded Terragrunt ${tgVersion} "
134134
135- echo " Unzipping Terragrunt ${tgVersion} "
136- unzip -d /usr/local/bin /tmp/terragrunt_ ${tgVersion} & > /dev/null
135+ echo " Moving Terragrunt ${tgVersion} to PATH "
136+ mv /tmp/terragrunt /usr/local/bin
137137 if [ " ${?} " -ne 0 ]; then
138- echo " Failed to unzip Terragrunt ${tgVersion} "
138+ echo " Failed to move Terragrunt ${tgVersion} "
139139 exit 1
140140 fi
141- echo " Successfully unzipped Terragrunt ${tgVersion} "
141+ echo " Successfully moved Terragrunt ${tgVersion} "
142142}
143143
144144function main {
You can’t perform that action at this time.
0 commit comments