summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwangdi <wangdi>2003-10-20 09:02:59 +0000
committerwangdi <wangdi>2003-10-20 09:02:59 +0000
commitaa70d64a42ae49cc952940bc6ee8a269dd5023ec (patch)
tree881829783ce258c2b4a9986ca2feb8a68ff6eb5f
parent79f9d51975976f94363c4c05c2b9583eb9ed145e (diff)
downloadquilt-aa70d64a42ae49cc952940bc6ee8a269dd5023ec.tar.gz
add some support function in patchfns.in
-rw-r--r--scripts/patchfns.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index f16ad4e..60f855e 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -76,7 +76,6 @@ patch_file_name()
' $SERIES
fi
}
-
# The -pN option and possibly others that should be passed to patch.
patch_args()
{
@@ -216,7 +215,16 @@ remove_from_series()
return 1
fi
}
+save_patch_name()
+{
+ local patch=$1
+ while [ $# -gt 0 ]
+ do
+ echo "${patch}.quiltsave"
+ shift
+ done
+}
pc_file_name()
{
while [ $# -gt 0 ]