From 363664e47dd99e8f9593ecf98d73544617fb72fd Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 4 Nov 2018 23:24:39 -0500 Subject: meson: be more accurate in comments when generating processed scripts Instead of assuming all scripts are .sh.in and leaving a comment to that effect, just take the input file directly. Signed-off-by: Allan McRae --- build-aux/edit-script.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/edit-script.sh.in b/build-aux/edit-script.sh.in index 3e3a1b6a..3b0058ce 100644 --- a/build-aux/edit-script.sh.in +++ b/build-aux/edit-script.sh.in @@ -25,7 +25,7 @@ mode=$3 -e "s|@SEDPATH[@]|@SEDPATH@|g" \ -e "s|@DUFLAGS[@]|@DUFLAGS@|g" \ -e "s|@DUPATH[@]|@DUPATH@|g" \ - -e "s|@configure_input[@]|Generated from ${output##*/}.sh.in; do not edit by hand.|g" \ + -e "s|@configure_input[@]|Generated from ${input##*/}; do not edit by hand.|g" \ "$input" >"$output" if [[ $mode ]]; then -- cgit v1.2.3-24-g4f1b