summaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-11-05 05:24:39 +0100
committerAllan McRae <allan@archlinux.org>2018-11-28 01:48:57 +0100
commit363664e47dd99e8f9593ecf98d73544617fb72fd (patch)
tree288d5bc61b48ad03648ad5125bb64b188dc65eb1 /build-aux
parentfbc6d8b42811d6d0507ec9dcc33e729cdcc54029 (diff)
downloadpacman-363664e47dd99e8f9593ecf98d73544617fb72fd.tar.gz
pacman-363664e47dd99e8f9593ecf98d73544617fb72fd.tar.xz
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 <allan@archlinux.org>
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/edit-script.sh.in2
1 files changed, 1 insertions, 1 deletions
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