Browse Source

Update "diff-pr.sh" to use the new DockerFroms function

Tianon Gravi 6 years ago
parent
commit
e1a94ef563
1 changed files with 1 additions and 1 deletions
  1. 1 1
      diff-pr.sh

+ 1 - 1
diff-pr.sh

@@ -115,7 +115,7 @@ template='
 	{{- "\n" -}}
 	{{- "\n" -}}
 	{{- range $.Entries -}}
 	{{- range $.Entries -}}
 		{{- $arch := .HasArchitecture arch | ternary arch (.Architectures | first) -}}
 		{{- $arch := .HasArchitecture arch | ternary arch (.Architectures | first) -}}
-		{{- $from := $.ArchDockerFrom $arch . -}}
+		{{- $froms := $.ArchDockerFroms $arch . -}}
 		{{- $outDir := join "_" $.RepoName (.Tags | last) -}}
 		{{- $outDir := join "_" $.RepoName (.Tags | last) -}}
 		git -C "$BASHBREW_CACHE/git" archive --format=tar
 		git -C "$BASHBREW_CACHE/git" archive --format=tar
 		{{- " " -}}
 		{{- " " -}}