From dc5babe944639e0404a7fce2f2e64155d0271e89 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 9 Sep 2005 16:16:35 +0000 Subject: - scripts/patchfns.in: New quilt_command function for running another quilt command. - quilt/delete.in, quilt/edit.in: Use the new quilt_command function. Patch from Joe Green. --- scripts/patchfns.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts/patchfns.in') 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 -- cgit