+t-save-artifacts () {
+ artifacts="$AUTOPKGTEST_ARTIFACTS"
+ if [ x"$artifacts" = x ]; then return; fi
+ if [ x"tmp" = x ]; then return; fi
+ : '(((((((((( t-save-artifacts ))))))))))'
+ cp -dR --preserve=links,timestamps "$tmp"/. "$artifacts"/.
+ cd "$artifacts"/.
+ find . \( -name \*.tar -o -name \*.sample \) -print0 | \
+ xargs -0r rm -v
+ find . \( -name .git \
+ -o -path ./salsa/\* \
+ -o -path ./git/\*.git \
+ \) -type d \
+ \! -path '*/.git/*/.git' -exec sh -xec '
+ cd "$1"
+ "$2"/playtree-save-refs
+ git gc --prune=all
+ ' x '{}' "$troot" \;
+ : ')))))))))) t-save-artifacts ))))))))))'
+}
+