Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-03-13 22:06:00 -0500
committerAllan McRae <allan@archlinux.org>2021-03-25 11:38:58 +1000
commit9bf3d6a7603bf48771a20d1f4bd789670e7446f7 (patch)
treefe3011dee8d8f8f5d3c0d647eed647fd6535fd95 /build-aux
parentede73f4d898946a7e54634169b3605a024553315 (diff)
remove sed command lookup and hardcoding in edit-script.sh
We should not need to hardcode the path to sed as we simply don't care. We don't check what kind of sed we found, and we're using the same one we initially found on the PATH, which is surely still on the PATH. At one point we did care to find the system copy of sed and hardcode it in makepkg, because we also passed non-portable -i options to it and makepkg needed to continue working on macOS even if some incompatible GNU sed got installed afterward, elsewhere on the PATH. But this was never relevant to the in-tree buildsystem script running sed. In commit 3a814ee6bca9ee24a868c0dc032b321048a53e08 we removed even that, so we don't need to look it up at all. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> 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 661c22d5..85c56cfe 100644
--- a/build-aux/edit-script.sh.in
+++ b/build-aux/edit-script.sh.in
@@ -4,7 +4,7 @@ input=$1
output=$2
mode=$3
-"@SED@" \
+sed \
-e "s|@rootdir[@]|@ROOTDIR@|g" \
-e "s|@localedir[@]|@LOCALEDIR@|g" \
-e "s|@sysconfdir[@]|@sysconfdir@|g" \