From 93795049e3bf4551c831d6761668229c39dc5b42 Mon Sep 17 00:00:00 2001 From: "Brian J. Murrell" Date: Fri, 4 Jun 2010 17:00:36 -0400 Subject: [PATCH] strip the .patch off of the dpatch name When annotating the .dpatch files with the patch name, seeing as we strip the .patch off and replace it with dpatch, do the same in the annotation. --- build/autoMakefile.am.toplevel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/autoMakefile.am.toplevel b/build/autoMakefile.am.toplevel index 877fd1d..bf64b5b 100644 --- a/build/autoMakefile.am.toplevel +++ b/build/autoMakefile.am.toplevel @@ -162,7 +162,7 @@ debs: desc=$$(cat $$file | sed -e '1,/^$$/d' -e '/^---$$/,$$d'); \ dpatch_file=$${file/.patch/.dpatch}; \ sed -e '1,/^---$$/d' $$file | \ - dpatch patch-template -p "$$file" "$$desc" > \ + dpatch patch-template -p "$${file%.patch}" "$$desc" > \ $$dpatch_file; \ echo "faked by make debs run from git" > \ ../patched/$$dpatch_file; \ -- 1.8.3.1