summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r--scripts/patchfns.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index 98f5c51..89fd216 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -748,6 +748,14 @@ setup_colors()
eval $C
}
+quilt_command ()
+{
+ local command=$1
+ shift
+
+ QUILT_COMMAND="" @BASH@ $BASH_OPTS -c ". @QUILT@/$command" "quilt $command" "$@"
+}
+
#
# If the working directory does not contain a $QUILT_PATCHES directory,
# quilt searches for its base directory up the directory tree. If no