Skip to content

Commit 8f3fb6b

Browse files
committed
fix some typos
1 parent f612a2e commit 8f3fb6b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/log-collector

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,13 @@ echo "Collecting ASG activity for $autoScalingGroup"
9696
aws autoscaling describe-scaling-activities --auto-scaling-group-name "$autoScalingGroup" >> "${dir}/asg-activities-${stackName}.log"
9797

9898
# Make an archive with the logs
99-
## zip -jq buildkite-logs-"$now".zip "$dir"/*.log
10099
tar -czvf buildkite-logs-"$now".tar.gz "$dir"/*.log
101100

102101
# Clean up the unneeded files
103102
rm -r "$dir"
104103

105-
echo "Finished collecting logs, you can find them here: ${dir}/buildkite-logs-${now}.tar.gz"
104+
pwd=$(pwd)
105+
106+
echo "Finished collecting logs, you can find them here: ${pwd}/buildkite-logs-${now}.tar.gz"
106107

107108
exit 0

0 commit comments

Comments
 (0)