aboutsummaryrefslogtreecommitdiff
path: root/mk/scripts.mk
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2019-02-07 17:08:12 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2019-02-13 18:22:25 -0600
commitd64c9d205083ca82823f9f5ff178a5581f6c8b2a (patch)
treed35f28731ecefeec467d0c067ca6f3f1caf263d0 /mk/scripts.mk
parentb2b2c57a3898c945b33b8bf0a10b658483be09c1 (diff)
add experimental support for an alternate shell for service scripts
This is for #288.
Diffstat (limited to 'mk/scripts.mk')
-rw-r--r--mk/scripts.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/scripts.mk b/mk/scripts.mk
index 29babf9c..40cb4d65 100644
--- a/mk/scripts.mk
+++ b/mk/scripts.mk
@@ -19,7 +19,7 @@ _PKG_SED:= $(shell ${_PKG_SED_SH})
_LCL_SED_SH= if test "${PREFIX}" = "${LOCAL_PREFIX}"; then echo "-e 's:@LOCAL_PREFIX@::g'"; else echo "-e 's:@LOCAL_PREFIX@:${LOCAL_PREFIX}:g'"; fi
_LCL_SED:= $(shell ${_LCL_SED_SH})
-SED_REPLACE= -e 's:@LIB@:${LIBNAME}:g' -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' -e 's:@LIBEXECDIR@:${LIBEXECDIR}:g' -e 's:@PREFIX@:${PREFIX}:g' -e 's:@BINDIR@:${BINDIR}:g' -e 's:@SBINDIR@:${SBINDIR}:g' ${_PKG_SED} ${_LCL_SED}
+SED_REPLACE= -e 's:@SHELL@:${SH}:' -e 's:@LIB@:${LIBNAME}:g' -e 's:@SYSCONFDIR@:${SYSCONFDIR}:g' -e 's:@LIBEXECDIR@:${LIBEXECDIR}:g' -e 's:@PREFIX@:${PREFIX}:g' -e 's:@BINDIR@:${BINDIR}:g' -e 's:@SBINDIR@:${SBINDIR}:g' ${_PKG_SED} ${_LCL_SED}
# Tweak our shell scripts
%.sh: %.sh.in