Browse Source

Add "bashbrew list" output to "diff-pr.sh"

Tianon Gravi 8 years ago
parent
commit
311e9d3637
1 changed files with 2 additions and 0 deletions
  1. 2 0
      diff-pr.sh

+ 2 - 0
diff-pr.sh

@@ -136,6 +136,7 @@ copy-tar() {
 mkdir temp
 git -C temp init --quiet
 
+bashbrew list "${images[@]}" > temp/_bashbrew-list || :
 for image in "${images[@]}"; do
 	if script="$(bashbrew cat -f "$template" "$image")"; then
 		mkdir tar
@@ -150,6 +151,7 @@ git -C temp commit --quiet --allow-empty -m 'initial' || :
 git -C oi checkout --quiet pull
 
 git -C temp rm --quiet -rf . || :
+bashbrew list "${images[@]}" > temp/_bashbrew-list || :
 script="$(bashbrew cat -f "$template" "${images[@]}")"
 mkdir tar
 ( eval "$script" | tar -xiC tar )