This temporary data file is overwritten as needed and the directory it sits in is blasted when the script exits, so there is no point in explicitly deleting this file at the beginning of each wrapper invocation.
This simple change speeds up "inspect" by 3-4% in my tests. --- quilt/scripts/inspect.in | 1 - 1 file changed, 1 deletion(-) --- a/quilt/scripts/inspect.in +++ b/quilt/scripts/inspect.in @@ -355,7 +355,6 @@ cat <<-'EOF' > $tmpdir/bin/wrapper [ -n "$RPM_BUILD_DIR" ] || exec ${0##*/} "$@" tmpdir=${RPM_BUILD_DIR%/*} - rm -f $tmpdir/data case "${0##*/}" in patch) inputfile=$(patch_input_file "$@") -- Jean Delvare SUSE L3 Support _______________________________________________ Quilt-dev mailing list Quilt-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/quilt-dev