[pacman-dev] [PATCH] Make the flags used for sed -i configurable

Allan McRae allan at archlinux.org
Thu Sep 14 03:03:31 UTC 2017


On 12/08/17 07:15, Alastair Hughes wrote:
> Not all sed implementations on linux accept the --follow-symlinks
> argument, so let the user configure the arguments passed to sed if
> required.
> 
> Signed-off-by: Alastair Hughes <hobbitalastair at gmail.com>
> ---

Ack.  Required one addition:

diff --git a/configure.ac b/configure.ac
index babb8fad..86f5bb6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -563,7 +563,7 @@ ${PACKAGE_NAME}:
     File inode command     : ${INODECMD}
     File owner command     : ${OWNERCMD}
     File mode command      : ${MODECMD}
-    In-place sed command   : ${SEDINPLACE}
+    In-place sed command   : ${SEDPATH} ${SEDINPLACEFLAGS}

     libalpm version        : ${LIB_VERSION}
     libalpm version info   : ${LIB_VERSION_INFO}


More information about the pacman-dev mailing list