summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-11-04 23:24:39 -0500
committerAllan McRae <allan@archlinux.org>2018-11-28 10:48:57 +1000
commit363664e47dd99e8f9593ecf98d73544617fb72fd (patch)
tree288d5bc61b48ad03648ad5125bb64b188dc65eb1
parentfbc6d8b42811d6d0507ec9dcc33e729cdcc54029 (diff)
downloadpacman-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>
-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