X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=build%2FautoMakefile.am.toplevel;h=b5d8898cc3180ab7fecc74d63c8a894e70afbbe4;hp=ef9745876541cc116f7b3e0a59c43c52af4735db;hb=9c476e723c92a7c300c420fa612433f7643995fb;hpb=004cc2b4c6eb32672985e2f4b4bbf9413e314547 diff --git a/build/autoMakefile.am.toplevel b/build/autoMakefile.am.toplevel index ef97458..b5d8898 100644 --- a/build/autoMakefile.am.toplevel +++ b/build/autoMakefile.am.toplevel @@ -156,7 +156,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; \