From: Brian J. Murrell Date: Fri, 4 Jun 2010 21:00:36 +0000 (-0400) Subject: strip the .patch off of the dpatch name X-Git-Tag: v1_8_3_53~4 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=93795049e3bf4551c831d6761668229c39dc5b42;p=fs%2Flustre-release.git 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. --- 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; \