Browse Source

Update "diff-pr.sh" to strip leading "./" from tar entries

Tianon Gravi 7 years ago
parent
commit
f8555d46fd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      diff-pr.sh

+ 1 - 0
diff-pr.sh

@@ -191,6 +191,7 @@ copy-tar() {
 						*.tar.*|*.tgz)
 							tar -tf "$dst/$dDirName/$g" \
 								| grep -vE "$uninterestingTarballGrep" \
+								| sed -e 's!^./!!' \
 								| sort \
 								> "$dst/$dDirName/$g  'tar -t'"
 							;;