diff options
author | Alastair Hughes <hobbitalastair@gmail.com> | 2017-08-11 23:15:33 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-09-14 05:03:44 +0200 |
commit | 62bfba53dbb33d12f3a4beaf9044a04b40c6b537 (patch) | |
tree | 0f0179a8c8abe4d7709771c36820c5b85b9e08c8 /scripts/Makefile.am | |
parent | 2ddbc6964b31f65678ed8e7c2cf1e80f0a7d4a0f (diff) | |
download | pacman-62bfba53dbb33d12f3a4beaf9044a04b40c6b537.tar.gz pacman-62bfba53dbb33d12f3a4beaf9044a04b40c6b537.tar.xz |
Make the flags used for sed -i configurable
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@gmail.com>
[Allan: fixed configure summary output]
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r-- | scripts/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 4bb08a24..86e44cb6 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -152,7 +152,8 @@ edit = sed \ -e "s|@OWNERCMD[@]|$(OWNERCMD)|g" \ -e "s|@MODECMD[@]|$(MODECMD)|g" \ -e 's|@SIZECMD[@]|$(SIZECMD)|g' \ - -e 's|@SEDINPLACE[@]|$(SEDINPLACE)|g' \ + -e 's|@SEDINPLACEFLAGS[@]|$(SEDINPLACEFLAGS)|g' \ + -e 's|@SEDPATH[@]|$(SEDPATH)|g' \ -e 's|@DUFLAGS[@]|$(DUFLAGS)|g' \ -e 's|@DUPATH[@]|$(DUPATH)|g' \ -e 's|@SCRIPTNAME[@]|$@|g' \ |