diff --git a/pkg/build/gcloud/storage/gsutil.go b/pkg/build/gcloud/storage/gsutil.go index 461fd58c98a..f32189bc84e 100644 --- a/pkg/build/gcloud/storage/gsutil.go +++ b/pkg/build/gcloud/storage/gsutil.go @@ -352,7 +352,7 @@ func (client *Client) DownloadDirectory(ctx context.Context, bucket *storage.Buc } for _, file := range files { - err = client.downloadFile(ctx, bucket, file.FullPath, filepath.Join(destPath, file.PathTrimmed)) + err = client.downloadFile(ctx, bucket, file.FullPath, file.PathTrimmed) if err != nil { return err }