quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] [PACH 2/3] setup: Try alternative patches/series names


From: Jean Delvare
Subject: [Quilt-dev] [PACH 2/3] setup: Try alternative patches/series names
Date: Tue, 16 Oct 2012 13:06:31 +0200

setup: If a tar file contains a patches directory or a series file,
automatically try alternative names which are less likely to collide.
---
 quilt/setup.in |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

--- a/quilt/setup.in
+++ b/quilt/setup.in
@@ -201,7 +201,13 @@ do
        esac
 done < $tmpfile
 
-check_for_existing_files || exit 1
+if ! check_for_existing_files
+then
+       echo "Trying alternative patches and series names..." >&2
+       QUILT_PATCHES=quilt_patches
+       QUILT_SERIES=quilt_series
+       check_for_existing_files || exit 1
+fi
 
 while read tag dir arg1 arg2
 do

-- 
Jean Delvare
Suse L3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]