diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-09-09 16:16:35 +0000 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2005-09-09 16:16:35 +0000 |
commit | dc5babe944639e0404a7fce2f2e64155d0271e89 (patch) | |
tree | 2a9c9dc3900d86d2ed592aa9dd3cb55989a9f414 /scripts/patchfns.in | |
parent | 35ca0a1fb609eeba0244f72b404611a5ef5a8024 (diff) | |
download | quilt-dc5babe944639e0404a7fce2f2e64155d0271e89.tar.gz |
- 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.
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r-- | scripts/patchfns.in | 8 |
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 |