forked from pool/quilt
Takashi Iwai
a5de1023e1
- Fix the series file consistency checker - Many fixes and improvements to the setup command - New option --fast for quilt setup (hackweek project) OBS-URL: https://build.opensuse.org/request/show/264454 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/quilt?expand=0&rev=92
25 lines
797 B
Diff
25 lines
797 B
Diff
From: Jean Delvare <jdelvare@suse.de>
|
|
Subject: inspect: Don't explicitly delete the temporary data file
|
|
Upstream: Committed (3931a551f43751c6c18e6439864a7d012f2d5f4e)
|
|
|
|
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
|
|
@@ -363,7 +363,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 "$@")
|