summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--quilt/patches.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/quilt/patches.in b/quilt/patches.in
index e8dda34..413ff67 100644
--- a/quilt/patches.in
+++ b/quilt/patches.in
@@ -43,6 +43,11 @@ scan_patches()
shift 2
local patch
+ if [ $# -eq 0 ]
+ then
+ return 0
+ fi
+
for patch in $(modified_files $file -- "$@" \
| cut -d $'\t' -f2)
do