summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--quilt/new.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/quilt/new.in b/quilt/new.in
index a43b452..68aae20 100644
--- a/quilt/new.in
+++ b/quilt/new.in
@@ -83,6 +83,12 @@ then
usage
fi
+if [ "$QUILT_PATCHES" = "$QUILT_PC" ]
+then
+ printf $"QUILT_PATCHES(%s) must differ from QUILT_PC(%s)\n" "$QUILT_PATCHES" "$QUILT_PC"
+ exit 1
+fi
+
patch=${1#$QUILT_PATCHES/}
if patch_in_series $patch