summaryrefslogtreecommitdiffstats
path: root/scripts/apatch.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-01-31 13:44:56 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-01-31 13:44:56 +0000
commit62afdab5581516fb7c6f055572ceb81d4c1cc2e9 (patch)
treef73b5fc7f521c575357a3afe04a89a1de2ab76ec /scripts/apatch.in
parentc4189640171632e4b3812dcc6a82b118c682b6b3 (diff)
downloadquilt-62afdab5581516fb7c6f055572ceb81d4c1cc2e9.tar.gz
- No longer remove common extensions (.dif, .diff, .patch, .gz,
.bz2) from patch names. This allows patches in the same series that only differ by extension, and cleans up the scripts a little. Also don't remove extensions when printing patch names. - Remove unused diffstat code.
Diffstat (limited to 'scripts/apatch.in')
-rwxr-xr-xscripts/apatch.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/apatch.in b/scripts/apatch.in
index 2ec69bc..94c74b4 100755
--- a/scripts/apatch.in
+++ b/scripts/apatch.in
@@ -77,7 +77,7 @@ rollback_patch()
apatch()
{
- local patch=$(stripit $1)
+ local patch=$1
local file status
echo $"Applying $patch"
@@ -175,7 +175,7 @@ fi
[ -z "$opt_interactive" ] && force_apply=-f
[ -n "$opt_force" ] && opt_leave_rejects=1
-patch=$(stripit $1)
+patch=$1
top=$(top_patch)
if [ -n "$top" -a -e $QUILT_PC/$top~refresh ]