diff --git a/tools/mcde-dist.sh b/tools/mcde-dist.sh index 4f208acc06..6e0379541c 100755 --- a/tools/mcde-dist.sh +++ b/tools/mcde-dist.sh @@ -125,7 +125,7 @@ else # change. -6, not -9: 6.0 s instead of 15.7 s for 0.9 % more bytes # (67069914 against 66472043, measured 2026-11-17). git -C "$SUB" archive --format=tar --mtime="@$MTIME" --prefix="$NAME/" \ - "$SRCREV" ':(exclude)pkgsrc' ':(exclude)pkgsrc-*' > "$OUT.tar.tmp" + "$SRCREV^{tree}" ':(exclude)pkgsrc' ':(exclude)pkgsrc-*' > "$OUT.tar.tmp" gzip -n -6 < "$OUT.tar.tmp" > "$OUT.tmp" rm -f "$OUT.tar.tmp" mv "$OUT.tmp" "$OUT"