Browse Source

Adjust template whitespace to match the rest of the file

Tianon Gravi 8 years ago
parent
commit
f555445d48
1 changed files with 17 additions and 17 deletions
  1. 17 17
      diff-pr.sh

+ 17 - 17
diff-pr.sh

@@ -90,24 +90,24 @@ archesListTemplate='
 
 # TODO something less hacky than "git archive" hackery, like a "bashbrew archive" or "bashbrew context" or something
 template='
-{{- range $.Entries -}}
-	{{- if .HasArchitecture arch -}}
-		{{- $from := $.DockerFrom . -}}
-		git -C "$BASHBREW_CACHE/git" archive --format=tar
-		{{- " " -}}
-		{{- "--prefix=" -}}
-		{{- $.RepoName -}}
-		_
-		{{- .Tags | last -}}
-		{{- "/" -}}
-		{{- " " -}}
-		{{- .ArchGitCommit arch -}}
-		{{- ":" -}}
-		{{- $dir := .ArchDirectory arch -}}
-		{{- (eq $dir ".") | ternary "" $dir -}}
-		{{- "\n" -}}
+	{{- range $.Entries -}}
+		{{- if .HasArchitecture arch -}}
+			{{- $from := $.DockerFrom . -}}
+			git -C "$BASHBREW_CACHE/git" archive --format=tar
+			{{- " " -}}
+			{{- "--prefix=" -}}
+			{{- $.RepoName -}}
+			_
+			{{- .Tags | last -}}
+			{{- "/" -}}
+			{{- " " -}}
+			{{- .ArchGitCommit arch -}}
+			{{- ":" -}}
+			{{- $dir := .ArchDirectory arch -}}
+			{{- (eq $dir ".") | ternary "" $dir -}}
+			{{- "\n" -}}
+		{{- end -}}
 	{{- end -}}
-{{- end -}}
 '
 
 copy-tar() {